The Command Line Helper

Run multiple command-line (DOS) commands on multiple files

The Command Line Helper makes it easy to run command-line utilities on a selection of files.
It uses script files that may contain multiple command-line commands.
We created the helper to facilitate the use of the ImageMagick utilities but you may use it for a variety of tasks.


Select one or more files using the Import&Browse screen, then right-click for the popup menu and select Selection->Batch Command. Then press the Load button to load one of the many example scripts.

The script may contain the following variables:

You may enter several command lines in one script. Use '<br>' as command separation symbol.

Commands are executed in the input file folder.
To debug your script check the Debug Mode checkbox.
In Debug Mode the command line window stays open to show the result of the command. You must manually close the command-window to continue. Also, only the first of the selected files is executed.

Example:

# counter demo, example how to (re)number a group of files:

ren :input sometext:count.:ext

I this example a selection of files is renamed to include a number, for example 'sometext0001.jpg'

Another example, now more complex: this converts a selection of raw files to jpeg, using the dcraw utility and the ImageMagick's convert utility:


c:\windows\system32\dcraw -w -c :input |
convert -
# optionally: resize the image
# -resize 1024x768 -filter Mitchell
-quality 90
# put result file in parent folder:
..\:name.jpg