If you have trouble running these examples see Using the Command Line and Helpful Hints For Creating a Command Line.
To convert a single file, say C:\In\TryMe.Doc to C:\Out\TryMe.JPG use the following syntax:
CDTI /S"C:\In\TryMe.Doc" /T"C:\Out\TryMe.JPG" /4 100 /V
The /S and /T switches above specify input and output path respectively and are both required. It is always a good idea to use double quotes around the path especially if there are space characters within the path.
The /4 100 switch is to specify a JPEG quality of 100% (valid values are from 0-100). See a complete listing of other switches for additional formatting options.
The /V (for Verbose) switch is used to give instant feedback by having the program report the status of the conversion with a message box. You can remove this once you have perfected your command line specification. You can also (or instead of /V) create a Log file that will contain the results of the conversion by using the /L switch.
Note: Use the Verbose (/V) switch initially to see what the status of your conversion is and to help you perfect your command line. In verbose mode, CDTI displays messages to indicate what went wrong or right with your command line.
To convert all the DOC files in the C:\In\ folder to JPG files in the C:\Out\ folder, the following syntax would be used.
CDTI /S "C:\In\*.Doc" /T "C:\Out\*.JPG" /V
To extend the previous example (immediately above) to convert all subfolders within add the /R switch.
CDTI /S "C:\In\*.Doc" /T "C:\Out\*.JPG" /R /V