Command line parameters
Comfort Clipboard Pro (CClipboard.exe) accepts optional command line parameters. These parameters can be useful for developers and for calling our application from other software.
/HELP and /?
Displays the list of valid command line parameters in a message box.
Loads the file specified in the command line to the clipboard. You can load graphics or text files (bmp, jpg, jpeg, png, gif, emf, wmf, ico, pcx, ani, cur, txt).
For example: "C:\Program Files\ComfortClipboard\CClipboard".exe /LOADCLIP "C:\My Documents\myphoto.jpg"
Closes a previously launched instance of the application.
Starts the application with the same settings for all users.
This parameter instructs the application to save its settings to the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\ComfortSoftware\CClipboard
Normally, they are saved to this registry key: HKEY_CURRENT_USER\SOFTWARE\ComfortSoftware\CClipboard
Instructs the application to save its settings to the INI file. The settings will be saved to the Backup.ini file located in the application installation folder (in the Data subfolder).
Opens the application settings window.
Instructs the application to load settings from the INI file specified in the command line. If another instance of the application is already running, the settings from the INI file will be loaded into it. You can save the settings to the INI file by opening the Settings window and switching to the Advanced section.
For example: "C:\Program Files\ComfortClipboard\CClipboard.exe" /RESTORE "C:\Program Files\ComfortClipboard\params.ini"
/TURNON and /TURNOFF
Completely turn the application on or off.
Launches the application in safe mode. Some features of the application will be disabled.
Instructs the application to create the Log.txt file in the application folder (in the Data subfolder). The log file will contain details about the application’s activity, which can be a helpful debugging aid.
The information contained in the log file is technical in nature and therefore not intended to be understandable by end users.
If a file with the specified name already exists in the application folder, it will be overwritten.
Instructs the application to create different log files for every startup. See the Data subfolder in the application folder.
You can also add the DWORD parameter EventLog=1 in the registry to do the same.