You can use CHM-2-Word command line when you need CHM-2-Word to create Word document from CHM file automatically for you in batch file, or in scheduled task, etc. The command line of CHM-2-Word is as below:
CHM-2-Word.exe /pFile=<File> [/pAuto=1] [/pOverwrite=1] [/pOutPath=<Path>] [/pOp:<Option>=<Value>;…]
Or
project. chm2word [/pAuto=1] [/pOverwrite=1] [/pOutPath=<Path>] [/pOp:<Option>=<Value>;…]
Comments:
/pFile=<File>: The CHM-2-Word project file or source CHM file you want to open.
/pAuto=1: Create the Word file automatically and then close CHM-2-Word.
/pOverwrite=1: Overwirte existing Word file without prompts.
/pOutPath=<Path>: Path/Directory/Folder of the output Word
/pOp:<Option>=<Value>
Some options in the .chm2word project:
/pOp:OnlyDecompile: Options “Only Decompile CHM”, true/false
/pOp:KeepImagesOut: Option “save image as individual file”, true/false
/pOp:OptimizeCSS: Options “Optimize Styles”, true/false
/pOp:GenDirTree: Options “Create topic tree”, true/false
/pOp:ParseHeaderFooter: Options “Remove Header and Footer”, true/false
/pOp:AutoParseHeaderFooter: Options “Skip Preview Dialog”, true/false
/pOp:DealLinks: Options “Deal with Links”, true/false