Use the single string arguments format to write commands in a text file. See Formatting a Command for detailed information.
Command files can contain blank lines and comments as well as commands and their arguments:
| File Contents | Description |
|---|---|
| Comments |
Comments are started by the # symbol and stop at the end of the line.
Example:
|
| Commands |
Are executed in the sequence that they appear in the file. Use commands listed in Index of Available Commands. Commands used in the file must be separated by a semicolon (;) or a new line symbol (#). The # symbol acts as a new line character and can terminate a command.
Examples:
Example:
|
| Command Arguments | Arguments that contain white space must be placed inside quotes. Use "\" to escape special characters such as quotes (") and backslashes (\). |
After writing the commands, save the text file file by using a descriptive name and the extension .jtb. The name of the file should help you identify the function of each batch file.