RoboHelp 2019 - Command Line Generation

With Update 7 applied, command line generation is available in RoboHelp 2019. This can be done on any machine with a licensed copy of RoboHelp 2019 installed.

Syntax

The command line syntax is:-

RoboHelp.exe --cl “Input project absolute path” -o “output preset name” -p “output  path” -l “log  file path”

  1. The first parameter “--cl” indicates that RoboHelp.exe would be running in command  line
  2. The second parameter is the absolute path of the robohelp project (.rhpj) file.
  3. The third parameter is -o OR --output followed by preset name in double quotes.
  4. The fourth parameter is optional. -p OR --path which is followed by the absolute folder path for the output. This parameter allows you to define a path other than what is defined in the preset. If not defined here, then the path in the preset will be used.
  5. The fifth parameter is optional. -l (lower case L) OR --log which is the absolute path of the log file with extension .html. If this parameter is not set, the log details will be created within the command prompt.

Examples

All parameters defined

"C:\Program Files\Adobe\Adobe RoboHelp 2019 RoboHelp.exe" --cl "C:\MyProjectFolder\MyProjectName.rhpj" -o "MyPresetName" -p "C:\MyoutputFolder" -l "C:\MyLogFilesFolder\MyProjectNameLog.html"

Mandatory parameters only defined

"C:\Program Files\Adobe\Adobe RoboHelp 2019 RoboHelp.exe" --cl "C:\MyProjectFolder\MyProjectName.rhpj" -o "MyPresetName"

The output will be generated to the path defined in the preset.

The log details will be created within the command prompt.

Generating Multiple Outputs

You can create a batch file to generate multiple outputs.