CD2HTML Title
[Index]
What is CD2HTML | Features | Tech. Support | New program versions | Disclaimer | Registering |
Installation / Deinstallation | How CD2HTML works | Using CD2HTML | Shortcuts | Command-line functions | Tips and Tricks |
Creating HTML templates | CD2HTMLs own tags |
The Team | Version history |

Command-line Options

CD2HTML can be controlled by command-line parameters. It tests whether the command line parameter is a c2h file. If so, it loads the file. If not, CD2HTML parses the parameters and if you have used the right parameters it starts minimized, executes the command and closes itself after executing.

The following parameters are allowed: '/scan:', '/save:' and '/ini:'. So you can choose the directory to scan and the filename to save in after scanning.
With the '/ini:' parameter you can choose the settings (User menu for HTML layout, picture options ...). If you don't use this parameter CD2HTML uses the last used User menu (settings). Spaces in the ini name aren't allowed.

Examples:

cd2html /scan:c:\newfiles /save:c:\newfiles\index.html /ini:picture_list

CD2HTML scans the c:\newfiles directory and saves the result in c:\newfiles\index.html using the picture_list settings.

cd2html c:\newfiles\index.c2h

CD2HTML loads c:\newfiles\index.c2h.

cd2html /scan:c:\newfiles /save:c:\newfiles\index.html /ini:zip-list

CD2HTML reads your new files.

The control by command-line parameters is useful if you want to run CD2HTML by a scheduler. If you need some more parameters to be added, write me. Suggestions are always welcome.