Email this Page Log Support Call Send Feedback Print

Previous Topic

Next Topic

Book Contents

Book Index

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:

  1. Open the Publishing Profile and choose the Actions tab.
  2. Choose Command Line. The Command Line dialog box opens.
  3. Enter a name for the action in the Description field.
  4. Enter the <SYS_PUBLISH_FOLDER> variable and batch file name in the command field using the following format:

    <SYS_PUBLISH_FOLDER>\[batchfile name].bat

  5. Add the variable to the Arguments field, enclosed in quote marks.

    Command Line Variable

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

See Also

Actions

Copy File

Move File

Delete File

Zip File

Command Line

Using Variables in the Command Line Action

Using Author-it Variables in an After Publish Batch File

File Transfer

XSL Transformations

WebDAV

Top of Page Email this Page Log Support Call Send Feedback Print