Command Line Arguments

There are several functions that can be accessed via the CCD Commander command line.  These can be accessed via the Windows Command Shell, the Run window, a batch/scripting file, or similar.

 

The CCD Commander command line is broken down into three parts shown here:

 

CCDCommander.exe <Command> <Argument1> <Argument2> ... <ArgumentX>

 

The first thing must always be the CCD Commander executable name.  The .exe extension is optional.

 

Next is the Command.

 

This is followed by any number of Arguments as defined for the command.

 

The available Commands and their respective arguments are:

 

Command: AutoRun

The AutoRun command has one argument which must always be included.  CCD Commander will load the specified file name and automatically begin execution.

 

Argument: FileName

This must be the name and path of a valid CCD Commander action list.

 

Example usage:

CCDCommander.exe AutoRun "C:\CCD Commander\MyAction.act"

This will reset both the Window Position and the MaxIm/DL Sequence Number.

 

Command: Reset

The Reset command can have any number of arguments, but they all must be one of the following.

 

Argument: WindowPos

Resets the startup position of the CCD Commander main window to the default position.  Used if the startup window position becomes corrupted causing the CCD Commander window to appear off the screen.

 

Argument: MaxImCount

Resets the Sequence Number used for saving images taken using MaxIm/DL.  

 

Argument: All

Resets all of the saved settings in the Windows Registry.  Reverts all of the values in every CCD Commander window to their default values.

 

Example usage:

CCDCommander.exe Reset WindowPos MaxImCount

This will reset both the Window Position and the MaxIm/DL Sequence Number.

 

Command: Import

The Import command must always have two arguments.  It will execute the Import Target List function.

 

Argument1: TargetListFile

Specifies the name of the text file containing the target list.

 

Argument2: ActionListFile

Specifies the name of the action list file that the new action list will be written to.

 

Example usage:

CCDCommander.exe "C:\Program Files\CCD Commander\TargetLists\TargetList.txt" "C:\Program Files\CCD Commander\Actions\ActionList.act"