35.3 DCL command-line syntax
A dcl command has the following syntax:
dcl [-t type] [-f format] [-o target] source ... [-v]
The arguments and their options have the following meanings:
Output type for the target file(s); see Table 35-1 for valid options. Each is the discriminator in the name of a DLL file. That is, Mif2Go loads dwxxx.dll, where xxx is the option value. |
|
Output format; see Table 35-1 for valid format options. |
|
Output file name, complete path, or file extension for converted files. |
|
Input file name(s) or complete path(s); wildcards are acceptable. Surround each path (or file name, if you do not specify a path) with double quotes if the path or file name contains spaces; for example: |
|
Verbose: dcl reports, at the command prompt, everything it does. |
Arguments can appear in any order, before the names of the source file(s) to which they apply. Case is not significant, and space is allowed between an argument and its option. For example, all the following are equivalent:
You can specify each argument zero or more times, and each option affects only the files named after it on the command line.
DCL command-line options are used primarily for these purposes:
• To select the input and output modules (DLLs) to use
• To determine the name and location of output file(s).
Most options represent settings you can also specify in the [Options] section of the mif2rtf.ini or mif2htm.ini configuration file. Command-line options and values override corresponding configuration-file settings. Table 35-1 lists the valid output -f format options for each -t type argument.
Table 35-1 DCL output type and format arguments and options
Produce a book-level file for DocBook after conversion (provided DocBookRoot=book and chapter file extension = .ent) |
||
Document information format; see §35.4.1 Creating a document information file |
||
Document Coding Language binary format; see §35.7.1 DCL file structure |
||
Document Coding Language ASCII format; see §35.7.1 DCL file structure |
||
The -o argument for output can specify a file name (with or without path), a folder name (with or without path), or a file extension:
> 35 Converting via DCL > 35.3 DCL command-line syntax
