Using Command Line Switches

Several client-side command line switches are available to help authors that are part of the HTML Help executable program (Hh.exe) and therefore work when HTML Help Workshop is not set up.

From a DOS prompt or from the Run command, you can perform the following tasks.

Option Purpose API equivalent Notes
-800 Display the Help viewer in an 800x600 window, without covering the Windows taskbar. For more information, see 800 X 600 window. None Disabled in safe mode.
-title Sets the title to use for an 800 X 600 window. For more information, see Specify the title. None Disabled in safe mode.
-register Registers hh.exe (the calling process) as the shell-open command handler for .chm files None Disabled in safe mode.
-decompile Decompiles a .chm file to a command-line specified location. For more information, see Decompile a .chm file. None Disabled in safe mode.
-mapid Opens the requested .chm in the Help viewer, and uses a context ID to request a URL to display. For more information, see map ID. HH_HELP_CONTEXT Disabled in safe mode.
-safe Forces Help content to run in safe mode (all shortcuts are disabled). HH_SAFE_DISPLAY_TOPIC

 

HTML Help Reference