Command-line OptionsCD2HTML 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. 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. |