GLOBAL SITES
 Home > Word-2-CHM > Macrobject Word-2-CHM Manual
Welcome to DocAuto products
Creating CHM Help File
Options
Regenerating CHM File
Using Command-Line
Using Context-Sensitive Help in Your Program
Working with Security Software
FAQ
Registering Word-2-CHM
End User License Agreement

5       Using Command-Line

You can use Word-2-CHM command line when you need Word-2-CHM to create CHM file automatically for you in batch file, or in scheduled task, etc. The command line of Word-2-CHM is as below:

Word-2-CHM.exe  /pFile=file[;Option1=value1][;Option2=value2][;OptionX=valuex]

            Or

Word-2-CHM.exe  /pFile=file  [/pOption1=value1]  [/pOptionX=valuex]

Options:

Option

Description

Value

File

Source file, can be .word2chm project, Word file and HTML file

filename

OutPath

Path of output CHM file

path

Auto

Create the CHM file automatically and then close

true/false

Overwrite

Overwrite existing CHM file without prompts

true/false

op:ShowChapterNo

UI option “Show chapter number”

true/false

op:ShowHeader

UI option “Show header”

true/false

op:ShowFooter

UI option “Show footer”

true/false

op:ShowNavigator

UI option “Show navigator”

true/false

op:ShowRelatedTopic

UI option “Show related topics”

true/false

op:RelatedTopicTitle

Title text of option “Show related topics”

title text

op:IndexToIndex

UI option “Add index entry”

true/false

op:RefToLink

UI option “Cross-reference to hyperlink”

true/false

op:UsePNG

UI option “High-quality images”

true/false

op:ShowCoverPage

UI option “Show cover page”

true/false

op:CoverPageTitle

Title text of option “Show cover page”

title text

op:KeepChmProject

UI option “Keep HTML help project”

true/false

op:AutoHelpId

UI option “Auto help id”

true/false

op:HelpIdTemplate

Template filename of “Auto help id”

filename

op:MaxTreeLevel

UI option “Max tree level”

1-9

op:PageFileNameRule

UI option “Page filename rule”

value = Default/HeadingText/HelpId/ChapterNumber