Using The Command Line

TXL Wizard can be run without a user interface, using command line arguments, much like in the good old DOS days. Alternatively you can initiate command line execution by going to the operating system's command prompt or from within Windows from the START-RUN menu and typing it in there. Furthermore, the command line interface can be used from Batch files (files with a *.BAT extension).

Important: To use the command line successfully you must do one of the following:

1. Set the path in your environment variables to the location of TXL.EXE; or

2. Copy TXL.EXE to the same folder as the batch file. 

Otherwise, you'll see the following error: " TXL.EXE is not recognized as an internal or external command, operable program or batch file."

If you installed TXL Wizard and accepted the default location, the call to the executable file will appear something like this, including the double quotes: "C:\Program Files\Softinterface, Inc\TXL Wizard\txl.exe". Job specific data would then follow. For the sake of brevity, all examples below show the call to the executable file as simply TXL.EXE.

The syntax for the command line for specifying a conversion task is:

TXL.EXE /I{Input File(s)} /O{Output File(s)} [/R{Recipe File}] [/S] [/G] [/V] [/?]

Items above enclosed in square brackets "[ ]" are optional, all other 'switches' are required. Therefore /I, /O should always be specified on the command line. There is one exception, however, and that is when /G (Save to original folder) is specified, the /O switch is not necessary.

NOTE: Not specifying a recipe file implies that you have used the "File Marking Method" on the input files.

See also: All Command Line Switches

More:

Command Line Examples