batch files
Updated: January 21, 2005
Using batch files
You can include any command in a batch file. Certain commands, such as for, goto, and if, enable you to do conditional processing of the commands in the batch file. For example, the if command carries out a command based on the results of a condition. Other commands allow you to control input and output and call other batch files.
The standard error codes that most applications return are 0 if no error occurred and 1 (or higher value) if an error occurred. To determine the meaning of specific error codes, refer to your application help documentation.
For more information about batch file operations, see the following topics:
For more information about commands that you can use in batch files, click a command: