ThmIndxrTM is run from the command prompt in a DOS window. The chart below lists the command line parameters that can be used when running the program. Note that, as a minimum, you must supply a title string for your HTML page, either with the -ttl command line switch, or with a Title String entry in a command file. The command file can either be identified with the -cmd switch or through a Command File entry in a configuration file specified with the -cfg switch.
Command line switches may be indicated using either the "-switch" form or "/switch" form. When two or more command line switches start with the same character(s), you must enter enough letters to differentiate which switch you are using, e.g., "-cf" is sufficient to specify the name of a configuration file, whereas "-c" could either be a configuration or a command file, and is ignored. Entering longer strings (as a mnemonic aid) such as "/trace" rather than "-tra" won't confuse the program. Command line switches are not case sensitive; however, some operating systems are sensitive with respect to file names, so caution is advised.
Usage: ThmIndxr [option [option [...]]]
where 'option' is one of the options in the list below:
-h | help display, supresses all other operations | |
-ttl | title string, '-ttl="HTML Page Title String"' If your title string contains more than one word (as is usually the case), the title must be enclosed in "" quotation marks, or the operating system won't know to pass the whole string to ThmIndxrTM as a single parameter. This switch performs the same function as the Title String entry in a Command File. |
|
-cfg | configuration file, "-cfg=[path]filename" If the configuration file specification does not include any path information (drive letter or directory names) and the specified file cannot be found in the current directory, ThmIndxrTM looks for it in the directory where the program is executing from (the location that contains the ThmIndxr.EXE file). |
|
-cmd | command file, "-cmd=[path]filename" This switch performs the same function as the Command File entry in a Configuration File. |
|
-d | directory to process, "-d=[drive][path]" This switch performs the same function as the Input Directory entry in a Configuration File. |
|
-o | output filename, "-o=[path]filename" This switch performs the same function as the HTML Output File entry in a Configuration File. |
|
-L | log filename, "-l=[path]filename" This switch performs the same function as the Log File entry in a Configuration File. |
|
-tra | trace level, "-t=[0..6]" This switch performs the same function as the Trace Level entry in a Configuration File. |
|
-q | "quiet" mode, no startup banner This switch performs the same function as the Quiet entry in a Configuration File. |
|
-v | "verbose" mode, extra information output during the run This switch performs the same function as the Verbose entry in a Configuration File. |
ThmIndxrTM will use the following environment variables (refer to the list above for descriptions and parameter formats):
ThmIndxr | configuration file | ||
ThumbCmd | command file | ||
ThumbLog | log file | ||
ThumbTrace | trace level | ||
OUTNAME | output filename | ||
VERBOSE | verbose mode |
If ThmIndxrTM is run with no other command line parameters or environment variables it recognizes, its default operation is:
Return to the top of this page
ThmIndxrTM Home Page
L5 Software Development
The L5 Development Group