Command Line Switch Specification

Full descriptions for each switch are shown below in order of importance:

Switch

Meaning

/J{File}

Specify a 'Conversion Job' file (*.SII) to be done. You must have previously created a 'Conversion Job' file to use this switch.

/S{File}

Input File(s) to be converted.

 

A single file including its complete path can be specified for a single file conversion. For example:

/S"D:\MyPPTFiles\MyPresentation.PPT"

If specifying a single file, make sure that the /T switch also specifies a single output file. For example:

/T"D:\MyOutput\TargetOutput.PDF"

 

Alternatively, you can specify whole directories by using the wildcard syntax. For example:

/S"D:\MyPPTFiles\*.PPT"

If specifying a whole directory, make sure the /T also specifies a whole directory. For example:

/T"D:\Output\*.PDF"

 

See also /R for subfolders.

/F #

File type of the input file(s). Used for special processing only (e.g. concatenation). The input file(s) path are specified with the /S switch.

Please see File Type Constants table for valid values.

 

/T{File}

This switch is ignored if the /G Switch is used.

 

Output File(s) to be created. A fully qualified path is recommended surrounded by double quotes.

 

See the /S{File} switch description for proper use of the /T{File} switch when specifying a single or multiple files to convert.

/C #

Specifies what the output file type is. You must supply a number for the # symbol. For all possible numbers see File Type Constants.

/Y #

Start converting FROM this slide number. If /Y and /Z are not specified then CPPT defaults to conversion of all slides.

/Z #

Convert up TO and including this slide number. If /Y and /Z are not specified then CPPT defaults to conversion of all slides.

/E

Use this switch to create a new file for every slide converted. If not specified a single file will be created containing all slides.

/G

Save files to the same location as the input folder(s). Use this instead of /T to place the converted files in the same folder as the input file. Cannot be used when converting a single file. For a single file use the /T switch instead.


Files will be saved with the same name as the input but with a different file extension as specified by the /C# switch.

You cannot specify a different name for the output file when using the /G switch.

/V

Verbose mode. Specify this switch to display a message box indicating how the conversion went. See also /L.

/R

Recursive sub folders. Seek out and do all files found in the sub-folders specified in the /S switch.  You may add this switch if you are processing whole folders of files. See /S and /G for more details on selecting whole directories to be converted.

/L{File}

Log file path and name (e.g. /L"D:\MyLogs\MoreInfo.LOG"). If this switch is specified a log file with the given path and name will be created and the results of the conversion will be written to it. See also /V.

/B{File}

Save the Log file as a 'Conversion Job' ONLY IF ERRORS OCCURRED. This is useful if the files that had problems, they can be done at a later time, perhaps with a different method. /B differs from /L, since the file generated with /B will not include extraneous comments not allowed in a 'Conversion Job' file. Use the *.SII file type extension so it can be loaded as a job.

 

               All Command Line Switches

 

See also:

Complete List of Command Line Examples

Using 'Convert PowerPoint' - Command Line

Command Line Switch Specification

File Type Constants Specification

Helpful Hints For Creating a Command Line