Windows NT/XP Command Line Syntax
Parameters Command Line Parameters %1 %~f1 Variables Creating and reading environment variables Redirection Spooling output to a file, piping input AND/OR Logic Conditional Execution (If-Then-Else) 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 DateMath.zip Add or subtract days from any date GetDate.cmd Get todays date (any region, any OS) GetTime.cmd Get the time now datetime.vbs Get Date, Time and daylight savings DelOlder.cmd Delete files more than n days old StampMe.cmd Rename a file with the date/time StampMS.cmd Rename with date/time (milliseconds) Which.cmd Display full path to any commandServices List of Windows Services Reference/How to Slow Browsing Speed up network browsing Printing Printer connections and print drivers Qchange Script to change Printer connections Permissions Local vs Global workgroups Long Filenames NTFS filename issues WorkGroups Built-In Users and Security Groups autoexec Run commands at startup Recovery The Recovery Console WinXP Registry User interface settings
Related
Microsoft Batch file reference
Recommended books and Websites