Chapter 7. Command-Line Interface

Top  Previous  Next

The possibility is provided for IDPhoto Processor to perform operations both through the graphic user interface and the command-line interface. Hereinafter, the command-line interface will also be named CLI.

IDPHOT~1_img15

text

CLI is the abbreviation of Command-Line Interface.

 

The user may enter CLI commands directly onto the command-line interpreter or use script files.  Both ways of interaction are described below in this chapter.

Command-line arguments for IDPhoto Processor are as follows:

/process    Runs image processing from the specified source. It is a default key.

/source="<path>"   Sets the path to the folder where the source images are located, or directly to the image file if only one file is to be processed.

/saveas="<path>"    Sets the path to the folder where the processed images are saved.

/profile=<profile>     Sets the profile with the specified name.

If /source, /saveas and /profile parameters are not set, then IDPhoto Processor applies values of the corresponding settings which have been set through the window interface of the application.

Through the CLI, you can start processing of a single file, several files or a directory. Examples are given for each case below in this chapter.

Contents of the Chapter:

An Example with cmd.exe

An Example with a Batch File

Examples for processing a single file, several files or a directory