A file that contains a sequence, or batch, of commands. Batch files are useful for storing sets of commands that are always executed together because you can simply enter the name of the batch file instead of entering each command individually.
In DOSsystems, batch files end with a.BAT extension. For example, the following DOS batch file prints the date and time and sets the prompt to GO>: date time prompt [GO>]
Whenever you boot a DOS -based computer, the system automatically executes the batch file named AUTOEXEC.BAT, if it exists.
Batch Files A well built resource for batch file information, including a repository of utilities for making batch files more capable and a lengthy discussion of the powerful new extensions to the WINNT command language.