Command Line Parameters
Top  Previous  Next

You may use Comparator Fast with command line parameters.

The only restriction is: the first parameter must be the preset name, already defined. If the preset name is long and have spaces or other characters than letters or numbers, please use the format "preset name" to specify it (always enclose a preset name using quotes).

The process starts automatically on background. You'll see a small icon logo on the system tray. If you want to "see" Comparator Fast
, just click on that icon on system tray.

Comparator Fast
will save automatically a log of the process (in Rich Text Format), using this convention for the filename:
   "Comparator Fast Automated (YYYY-MM-DD HH:MM:SS).rtf
"

where "YYYY-MM-DD HH:MM:SS" is the date and time when task was completed:
YYYY
Is the year
MM
Is the month
DD
Is the day
HH
Hour, in 24H format
MM
Minutes
SS
Seconds.

This file will be saved on the installation path of Comparator Fast
(see About/Info window, click the "D.S.M./Interdesigner" label to open installation folder in Windows Explorer).
   

The command line parameters available are:

Comparator Fast "preset name"
[parameters]

The valid parameters are:

/M1
This parameter instructs to process all Missing Files in the "From" side. This means, if any missing file exists in the "From" side (left), then all those files will be processed (copied) to the other side.

/M2
This parameter instructs to process all Missing Files in the "To" side. This means, if any missing file exists in the "To" side (right), then all those files will be processed (copied) to the other side.

/N1
This parameter instructs to process all Newer Files in the "From" side. This means, if any newer file exists in the "From" side (left), then all those files will be updated (copied) to the other side.

/N2
This parameter instructs to process all Newer Files in the "To" side. This means, if any newer file exists in the "To" side (right), then all those files will be updated (copied) to the other side.

/D1
Use with caution. This parameter instructs to process all Duplicates Files in the "From" side. This means, all duplicates in the "From" side (left), will be deleted.

/D2
Use with caution. This parameter instructs to process all Duplicates Files in the "To" side. This means, all duplicates in the "To" side (right), will be deleted.

lightsmall
PLEASE NOTE: Be careful not to use both parameters /D1 and /D2. Normally, you should not do this. Using both commands together is permitted by Comparator Fast, but keep in mind that ALL THE EXISTING DUPLICATES IN BOTH SIDES will be deleted.

/ALL
This command instruct to do all the procedures as the parameters /M1, /M2, /N1 and /N2.
This means, if you plan to use all those parameters, just use the /ALL one, it covers all parameters above.

/R1
Use this parameter to select (check) all Folders to Replicate from Source (Missing on Target Folder). All Folders from Source path will be replicated to Target folder.

/R2
Use this parameter to select (check) all Folders to Replicate from Target (Missing on Source Folder).
All Folders from Target path will be replicated to Source folder.

/R
Same as /R1 and /R2 (both parameters).

/DF
Use this parameter to delete empty folders first (before replication). Will do nothing if no Replication parameters (/R, /R1 or /R2) specified.

/NOEXIT
By default, when the task is completed, Comparator Fast will close automatically.
With this parameter, Comparator Fast
will not be closed.
/SHOW
By default, the task will be noticed only by it's icon on System Tray. If you want to show the Comparator Fast's main window while running the software using command line parameters, use this option.
/ONLYBAD
Use this option to enable show of only Bad Duplicates (if Duplicates are requested in Preset's parameters). This option is recommended for speed. See Other Scan Options for more information. If this parameter is not specified, Comparator Fast will use your default specified setting.
/NOONLYBAD

Use this option to show all duplicates, "Ok" and "Bad" (if Duplicates are requested in Preset's parameters). If this parameter is not specified, Comparator Fast will use your default specified setting.