Running Cover Commander from command prompt
To run Cover Commander in the command-line mode:
- Click on the Start button on your Desktop and then select Run... on the menu that appears.
- In the Run Application window that appears, click on the Browse... button,
navigate to the Cover Commander home folder and select the application executable.
- Type necessary keys and options and then click OK.
Batch mode
Parsing large amounts of data – multiple projects with multiple images – is
much more productive with command line options. Simply run the application
with necessary keys in the DOS prompt window, then sit back and relax –
the job will be completed automatically.
Command-line options and commands
CoverCommander.exe -b project_file [-r] [-result image_file] [-front image_file] [-left image_file]
[-top image_file] [-right image_file] [-back image_file] [-bottom image_file]
where:
project_file - project file name or mask for multiple files (*.cpj, for example);
-r - recursive folder scanning - when used with project or image file mask;
-result image_file - output image file name;
-front image_file - front-side image file name or mask for multiple files (*.png, for example);
-top image_file - top-image file name or mask for multiple files;
-left image_file - left-side image file name or mask for multiple files;
-right image_file - right-side image file name or mask for multiple files;
-back image_file - rear-side image file name or mask for multiple files;
-bottom image_file - bottom-side image file name or mask for multiple files.
You can use mask only in one place; i.e., you cannot use it in both project name and image name.
The following substitutions can be used in file names:
{PROJECT_NAME} - project file base name (without extension);
{PROJECT_PATH} - path to project file.
If you use mask in an image file name, the following substitutions can be used in other image file names:
{IMAGE_NAME} - image file base name (without extension);
{IMAGE_PATH} - path to image file.
Examples:
C:\Program Files\Insofta Cover Commander\CoverCommander.exe -b c:\work\screenshot.prj
C:\Program Files\Insofta Cover Commander\CoverCommander.exe -b c:\work\screenshot.prj -front c:\work\*.png -result {IMAGE_FILE}_res.png
C:\Program Files\Insofta Cover Commander\CoverCommander.exe -b c:\work\*.prj
C:\Program Files\Insofta Cover Commander\CoverCommander.exe -b c:\work\*.prj -r -result {PROJECT_PATH}{PROJECT_FILE}_res.png
In the last example, image file "{PROJECT_PATH}{PROJECT_FILE}_res.png" will be substituted by "c:\work\books\book1_res.png" for project "c:\work\books\book1.cpj".
where:
project_file - project file name or mask for multiple files (*.cpj, for example);
-r - recursive folder scanning - when used with project or image file mask;
-result image_file - output image file name;
-front image_file - front-side image file name or mask for multiple files (*.png, for example);
-top image_file - top-image file name or mask for multiple files;
-left image_file - left-side image file name or mask for multiple files;
-right image_file - right-side image file name or mask for multiple files;
-back image_file - rear-side image file name or mask for multiple files;
-bottom image_file - bottom-side image file name or mask for multiple files.
You can use mask only in one place; i.e., you cannot use it in both project name and image name.
The following substitutions can be used in file names:
{PROJECT_NAME} - project file base name (without extension);
{PROJECT_PATH} - path to project file.
If you use mask in an image file name, the following substitutions can be used in other image file names:
{IMAGE_NAME} - image file base name (without extension);
{IMAGE_PATH} - path to image file.
Examples:
C:\Program Files\Insofta Cover Commander\CoverCommander.exe -b c:\work\screenshot.prj
C:\Program Files\Insofta Cover Commander\CoverCommander.exe -b c:\work\screenshot.prj -front c:\work\*.png -result {IMAGE_FILE}_res.png
C:\Program Files\Insofta Cover Commander\CoverCommander.exe -b c:\work\*.prj
C:\Program Files\Insofta Cover Commander\CoverCommander.exe -b c:\work\*.prj -r -result {PROJECT_PATH}{PROJECT_FILE}_res.png
In the last example, image file "{PROJECT_PATH}{PROJECT_FILE}_res.png" will be substituted by "c:\work\books\book1_res.png" for project "c:\work\books\book1.cpj".









Introduction
Was ist Cover Commander?
Erste Schritte mit Cover Commander