|
|
Windows NT Command Line Syntax
Parameters Command Line Parameters %1 %~f1 Variables Creating and reading environment variables Redirection Spooling output to a file, piping input Looping constructs IF THEN ELSE Conditional Execution loops Loops and Subroutines Evaluating expressions Using brackets to Group and expand expressions SET /A Environment variable arithmetic VarSubstring Extract part of a variable (substring) VarSearch Search & replace part of a variable Escape chars, delimiters and quotes Wildcards Match multiple files Batch Files for NT/2K/XP DateMath.zip Add or subtract days from any date GetDate Get todays date (any region, any OS) GetTime Get the time now DelOlder Delete files more than n days old general advice Common Batch file problems Security NT Permissions Local vs Global workgroups WorkGroups Built-In Users and Security Groups Installation Services List of Windows Services autoexec Run commands at startup cpanel.zip Shortcuts for all NT/2K/XP control panel applets Recovery The Recovery Console For more examples see recommended Win NT/Win 2000 books