[My answer assumes that OPlanner.xml is a DocBook 4 document.] Convertdoc executes XMLmind XML Editor's process commands and there indeed is no process command called "docb.toCHM".
As explained here -- http://www.xmlmind.com/xmleditor/_distrib/doc/commands/convertdoc.html -- you need to know a process command in order to use it in convertdoc. I mean, there is no way to *guess* which arguments to pass to convertdoc. Please take a look at XXE_install_dir/addon/config/docbook/xslMenu.incl and search for "docb.toHTMLHelp". By doing this, you'll see that you'll have to run something like: C:\Program Files (x86)\XMLmind_XML_Editor\bin> convertdoc.bat docb.toHTMLHelp Y:\Planner\Manuals\OPlanner.xml -u "Y:\Planner\Files\Generated for Build\OPlanner.chm" Please do not forget the -u and the quotes, otherwise the above command cannot work. On 10/07/2010 08:35 PM, Jason Cooke wrote: > Thanks for the help, but I had already done all that. More details: > > We have the file : > Y:\Planner\Manuals\OPlanner.xml > > We want to create > Y:\Planner\Files\Generated for Build\OPlanner.chm > > We can do this by opening XML Editor and doing it manually but we wish > to automate this step. > We have a pro licence. > > Im trying things like... > > *C:\Program Files (x86)\XMLmind_XML_Editor\bin>convertdoc.bat docb.toCHM > "Y:\Plan > ner\Manuals\OPlanner.xml" > convertdoc: *** error: command 'docb.toCHM' not found > > *but I don't know the format of the args to pass, I can't see this in > any documentation, specifically xml to chm. > > Thanks for any help. > > Jason.* > > * > > On 07/10/2010 18:57, Hussein Shafie wrote: >> On 10/07/2010 07:12 PM, Jason Cooke wrote: >>> Hi, we have XMLMind XML Editor and wish to create CHM's from our xml >>> using commandline. I can't find any help on this, can you point me in >>> the right direction please. >>> >> You need to use the convertdoc command-line tool to do that. See >> http://www.xmlmind.com/xmleditor/_distrib/doc/commands/convertdoc.html >> >> * convertdoc is found in XXE_install_dir/bin/. >> >> * convertdoc requires Professional Edition in order to work. >> >> * convertdoc being XMLMind XML Editor without a GUI, you first need to >> start XXE normally and use "Options|Preferences|Helper Applications" to >> specify that hhc.exe (part of the HTML Help Compiler) must be used to >> ``open'' .hhp files. This is done once for all. See screenshot in >> http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.helperapps.HelperApplicationEditor.html >> >> DocBook 5 example (command on a single line): >> --- >> C:\src\4xxe\docsrc\rngsupport> C:\src\4xxe\bin\convertdoc db5.toHTMLHelp >> rngsupport.xml -u C:\tmp\rngsupport.chm >> --- -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

