Contents 

Introduction
About chm2web
Key features
Available versions
System requirements
Using chm2web
Using chm2web
Working with Projects
Conversion Options
Version Tab
General Tab
Template Tab
Pre-processing Tab
Style Sheets
Templates
About Templates
Global Variables
Template Body
BODY.INFO
OPEN.FIELDS
CONFIG.MANAGER
No Frames Version
Frames Version
Mobile Version
Template Scheme
TEMPLATE.INFO
OPEN.FIELDS
COPY.FILES
Using old templates
Command Line
Command Line Parameters
Extend Command Line
Context-sensitive help
Compiled help decompilation
Regular Expressions
How to create HTML Help?
Registration
Purchasing and Licensing Issues
Product license information
Why should I register?
About A!K Research Labs
Getting program updates
Getting technical support
Our products
Contacting A!K Research Labs
Copyright

CHM 2 HTML

Prev Page Next Page

Expanding capabilities of the command line parameters


If the regular capabilities of the command line parameters are insufficient, you can add more functions to it if you do the following:

  1. Create project chm2web with necessary settings using any script language or even .bat file.
  2. Launch chm2web and specify the name of the project in the first parameter.

Folder chm2web\examples\cmdline contains two files that serve as the examples of expanding functional capabilities. Thus, for example, you can use makehelp.bat to do the following conversion of file my_original_help.chm:
  makehelp.bat c:\my_original_help.chm c:\target_folder\ "My help titile"


Let's see how it works:

File called createproject.bat creates project chm2web with the parameters specified in the command line: the first parameter is the name of original chm-file; the second parameter is your target folder; the third parameter is the title of your web online help system.

File makehelp.bat consists of two functional lines: the first line launches creatproject.bat file and creates tempprj.chm2web file in projects folder:
  start /wait /b createproject.bat %1 %2 %3 > projects\tempprj.chm2web
The second line launches chm2web, which converts the documents according to the settings you specified:
  chm2web.exe projects\tempprj.chm2web

   
. replique montre est une replique montre et la montre replica ne peut jamais remplacer.