Running CardConvert From a Command Line

In order to run CardConvert from a command line without user interaction, you will first need to create a CCF file that contains the CardConvert settings to be used when running from a command line. To create the CCF file, open CardConvert and select the desired source directory (Select Card Drive), destination directory (Change Output Dir), and Destination File Options. When CardConvert is closed, it will produce a file named “lastrun.ccf” that contains the designated settings. The file will be written to the C:\Campbellsci\CardConvert directory. You should rename this file as it will be overwritten the next time that CardConvert is closed.

When running CardConvert from a command line, you can designate the CCF file using the command line option runfile. For example,

“C:\Program Files (x86)\Campbellsci\CardConvert\CardConvert.exe” runfile=“C:\Campbellsci\CardConvert\myfile.ccf”

The above command line will run CardConvert using the settings contained in myfile.ccf.

NOTE: The path to the CCF file should be specified. It will not default to the CardConvert working directory.

If there are no problems or questions encountered, CardConvert will start, convert the file(s), and then exit with no user interaction. However, if any problems or questions are encountered, CardConvert will display a dialog box as usual and then wait for a user response. Therefore, this command line option allows some automation of CardConvert but does not allow for completely unattended automation. To minimize the user interaction required, the Destination File Option “Create New Filenames” should be used as this prevents CardConvert from asking whether a file should be overwritten.