#### 43.1.4 Supplying system commands in a .bat file

You can use a text editor to create a Windows .bat file, put system commands in that file, and assign the file name (along with any required path and parameters) to a System*Command keyword. For example:

    [Automation]
    SystemEndCommand = buildjh 40

The file buildjh.bat contains a series of commands to build release 40 of a JavaHelp system. See Windows Help for the syntax required for a .bat file to process parameters.

Note: Because system commands in .bat files require Windows command syntax, you cannot use DITA2Go variables in .bat files.

Previous Topic: 43.1.3 Monitoring system command execution

Next Topic: 43.1.5 Supplying system commands in a macro

Parent Topic: 43.1 Executing operating-system commands

Sibling Topics:

43.1.1 Specifying system commands

43.1.2 Including macros and variables in system commands

43.1.3 Monitoring system command execution

43.1.5 Supplying system commands in a macro