A batch file is a file that contains a list of commands to execute. CMD.EXE reads and interprets each line as if it had been typed at the keyboard. Like aliases, batch files are handy for automating computing tasks. Unlike aliases, batch files can be as long as you wish. Batch files take up separate disk space for each file, and can't usually execute quite as quickly as aliases, since they must be read from the disk.
The topics included in this section are:
.BAT, .CMD, and .BTM Files
Echoing in Batch Files
Batch File Parameters
Using Environment Variables
Batch File Commands
Interrupting a Batch File
Automatic Batch Files (4START & 4EXIT)
Detecting CMD.EXE
Using Aliases in Batch Files
Debugging Batch Files
Batch File String Processing
Batch File Line Continuation
Batch File Compression
Special Character Compatibility
Command Parsing
Argument Quoting
REXX Support
EXTPROC Support