An Example with cmd.exe |
Top Previous Next |
In this example, we'll run processing of the images under IDPhoto Processor from the command line. Step 1. Run cmd.exe. cmd.exe is the command-line interpreter. The user can interact with the operating system and the application programs supporting the command-line interface through the cmd character-based interface. The utility is on the same drive on which the operating system is installed, normally the С drive, by the following way: Windows\System32.
Step 2. Using the cd command, move to the folder where IDPhoto Processor is installed: cd C:\Program Files (x86)\IDPhoto Processor
Step 3. We describe the processing scenario in cmd.exe. For this purpose, assign the following parameters: /process - to process, /source="<path>" - the path to the folder where the source files are located, /saveas="<path>" - the path to the folder where the processed files need to be placed. text If you want to process not the whole directory but one or more specific images, some examples of entries for different cases can be found in the section Examples for processing a single file, several files or a directory.
Please pay attention that the directory path should not contain any extra separators – slashes – in the /source and /saveas parameters. For example, the following entry will be invalid and will cause an error: /source=D:\Portraits\ /saveas=D:\Result\ The correct entry should look like this: /source=D:\Portraits /saveas=D:\Result
IDPhotoProcessor_CLI.exe /process /source=D:\Portraits /saveas=D:\Result
Step 4. Press Enter in cmd.exe, this action will start processing in IDPhotoProcessor_CLI.exe. Depending on the settings, the application may display the ID Image Processing dialogue and the confirmation for overwriting the file during processing. More details on the Show processing window setting displaying the ID Image Processing dialogue may be found in the General Settings and ID Image Processing Dialogue Chapters. More details on the Overwrite existing files setting displaying confirmation for overwriting the file may be found in the Saving Processed Images Chapter. Upon completing the processing, a message with the statistical report may be displayed. More details on the setting which enables displaying of the message and the report information may be found in the Statistics Chapter. If the processing is run for one image, the message with the report will not be displayed.
Step 5. Check processing results. The source images and the images after processing are shown on the pictures below. Processing has been performed as set in the command-line parameters. The images from the folder indicated in the /source parameter have been processed and saved to the folder indicated in the /saveas parameter.
|