Adding a Variable to the Command Line Path
The <SYS_PUBLISH_FOLDER> variable can be used when you are copying and running a batch file in the publishing folder.
To Create a Command Line Action Using a Variable:
- Open the Publishing Profile and choose the Actions tab.
- Choose Command Line. The Command Line dialog box opens.
- Enter a name for the action in the Description field.
- Enter the <SYS_PUBLISH_FOLDER> variable and batch file name in the command field using the following format:
<SYS_PUBLISH_FOLDER>\[batchfile name].bat
- Add the variable to the Arguments field, enclosed in quote marks.

- Save your changes to the Command Line dialog box.
- Add the batch file as an additional file in the publishing profile's Theme tab or the book properties Web tab.
|