Working With the Command Line

In addition to using the application interface and the context menu, you can also run conversion jobs from the system command line.

warning

IMPORTANT Command Line Changes from Earlier Versions

The latest version of File Conversion Center, version 6.0, is now available as either a Standard Edition or a Professional Edition version.

 

The Standard Edition does not support running conversions unattended using the command line switches /Q, /X and /N. These options are only available in the Professional Edition.

 

If you have the Standard Edition and use these command line options in a unattended fashion, such as in a service, a scheduled task or or other non-interactive mode the conversion will fail and an error message will be written to the Application log in the Windows Event Log.

 

Then command line now also returns an error code that can be used when calling File Conversion Center from a batch file. See Command Line Error Codes.

 

File Conversion Center Standard Edition

The command line input format is:

PNFCC6.EXE

/R [/H] [/J=jobfile] [/P=profile] [/I=importfile]

[/O=outputdir] [/F=filterlist]  [/S=0|1] [/M=0|1]

[/L=logfile,a|o] [item1 item2 . . .]

If you need to to have the command line not return until the job is complete, use this command line instead:

DOSFCC6.EXE

/R [/H] [/J=jobfile] [/P=profile] [/I=importfile]

[/O=outputdir] [/F=filterlist]  [/S=0|1] [/M=0|1]

[/L=logfile,a|o] [item1 item2 . . .]

File Conversion Center Professional Edition

The command line input format is:

PNFCC6.EXE

/Q or /R [/X] [/H] [/N] [/J=jobfile] [/P=profile] [/I=importfile]

[/O=outputdir] [/F=filterlist]  [/S=0|1] [/M=0|1]

[/L=logfile,a|o] [item1 item2 . . .]

If you need to to have the command line not return until the job is complete, use this command line instead:

DOSFCC6.EXE

/Q or /R [/X] [/H] [/N] [/J=jobfile] [/P=profile] [/I=importfile]

[/O=outputdir] [/F=filterlist]  [/S=0|1] [/M=0|1]

[/L=logfile,a|o] [item1 item2 . . .]

Command Line Reference

Switch

Description

/Q

Professional Edition only.

Allows you to run a conversion job silently (with no graphical interface). The job is created and run as specified by the other command line switches. This switch will override the /R switch.

/R

Allows you to run a conversion job and display only the conversion progress dialog box. The job is created and run as specified by the other command line switches. The /Q switch will override this switch.

/X

Professional Edition only.

This option only applies when running with the /R option. If this option is specified, the conversion progress dialog box is shown as the file(s) are converted and automatically closes when the conversion process is complete.

/H

Displays a dialog box containing short descriptions of the command line switches. All other switches are ignored.

/N

Professional Edition only.

Allows you to suppress all error message dialog boxes.

/J=jobfile

Allows you to load and run a specified job file. The profile information contained in the job file replaces the default profile information. The job file must be in the current directory, or the fully-qualified path must be supplied; relative paths are not supported. If the job file name contains spaces, it must be enclosed in quotes.

/P=profile

Allows you to specify a profile to use for the conversion job. When specifying a profile, use the profile name listed in the Job Profiles Editor, not the short profile name listed in the shell context menu. This switch will override any settings contained in the job file specified by the /J switch. If the profile name contains spaces, it must be enclosed in quotes. Profile names are case sensitive.

/I=importfile

Allows you to load a text file containing a list of files, folders, and web addresses, and convert the specified items. This switch can be repeated as required. The import files must be in the current directory, or the fully-qualified path must be supplied; relative paths are not supported. If the import file name contains spaces, it must be enclosed in quotes.

/O=outputdir

Allows you to specify the directory where you want to store converted files. This directory must be supplied as a fully-qualified path; relative paths are not supported. This switch will override any settings supplied by the /J and /P switches. If the output directory path name contains spaces, it must be enclosed in quotes.

/F=filterlist

Allows you to specify the file types that will be included in the job when processing folders selected for conversion. The file extensions must be separated by commas with no spaces. This switch will override any settings supplied by the /J and /P switches.  

/S=0|1

Allows you to specify whether you want to convert files contained in the subfolders of folders included in the job. This switch will override any settings supplied by the /J and /P switches.

/M=0|1

Allows you to specify whether you want to maintain the directory structure when converting subfolders of folders included in the job. This switch will override any settings supplied by the /J and /P switches.

/L=logfile,a|o

Allows you to specify the name of the log file to which to write job information, and/or the directory in which the log file will be saved. If no directory is specified, the log file is created in the default log files directory. The directory path must be fully-qualified; relative paths are not supported. Adding ,a to this switch allows you to append the information to an existing log file, while adding ,o allows you to overwrite an existing log file. If neither ,a or ,o are added, the application default for this option is applied. The file extension for the created log file will always be .log.

item1 item2 . . .

 

Allows you to specify files, folders, and web addresses to convert during the job. Files must be in the current directory, or the fully-qualified path must be supplied; relative paths are not supported. If a file or folder name contains spaces, it must be enclosed in quotes. Web addresses must be preceded with www., http://, or https:/.