Specifying a 'Conversion Job' File

The first thing to be done is to create the 'Conversion Job' file by using the 'Convert XLS' graphical user interface. Basically, you detail each conversion task and Add it (by pressing the Add button) to the tasks to be done. Once you are satisfied with the task list, save the 'Conversion Job' file from the File menu.

NOTE: Before saving, be sure that you press the 'Rewind' button to ensure that the entire task list is executed from the command line.

The syntax for specifying a 'Conversion Job' file is:

 

ConvertXLS /J{ConversionJobFile} [/V] [/L{LogFile}] [/B{LogToJobFile}] [/W{PW}] [/X{PW}] [/Y{PW}] [/Z{PW}]

 

Items above enclosed in square brackets “[ ]” are optional, all other ‘switches’ are required. Therefore /J should always be specified on the command line.

 

Example:

To run the 'Conversion Job' specified by the "C:\MyJobs\ApplesOranges.SII" type the following in at the 'Command Prompt':

 

ConvertXLS.EXE /J"C:\MyJobs\ApplesOranges.SII"

 

You can include or exclude spaces between switches and parameters. For example, "/C6" is the same as "/C 6". For long file names you may be required to use double quotes. For example /J"C:\Program Files\MyApp\MyDoc.DOC".

 

See Also:

Using The Command Line

Helpful Hints for Creating a Command Line

Specifying a 'Conversion Job' File (Easiest way to do command line)

Specifying a 'Conversion Task'

Specifying a 'Special Processing' Task

Special Process File Type Constants

Excel Conversion File Type Constants

All Command Line Switches