Create a Command Line action


On Premises

To create a Command Line action:

  1. From the publishing profile, select the Actions tab.
  2. Click the Command Line action.
  3. In the Description field, type a name for the action.
  4. Click [...] and browse to the batch file.

    The path is the location where Author-it finds and runs the batch file.


    Type the path. Do not use relative paths unless you want the batch file to be run at a location within the Data folder.


    Use the <variable.

  5. Add arguments if they are required by the batch file. The batch file code must also reference the arguments.
  6. Click OK to save the action.

    The action appears in the After Publishing list. To move the action to the Before Publish list select the action and click the up arrow button.

  7. Save the changes to the profile.