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 DOS systems, batch files end with a .BAT extension.
Once you have created a batch file, open an MS-DOS prompt and change your directory to the TextPipe directory or the directory where your batch file was saved.
Type in the name of the batch file and press the "Enter/Return" key: