Duplicate Cleaner Pro has the ability to be called from the Windows command line shell, or a batch (.BAT) file.

 

The following command line parameters are supported:

 

/i [folder]

Specify a folder to include in the scan. Can be used more than once.

 

/e [folder]

Specify a folder to exclude from the scan. Can be used more than once.

 

/p [profile file name]

Load the named profile (.dc file) upon starting

 

/o [output file name]

Automatically create an export CSV file once the scan has completed

 

/a

Automatically begin the scan

 

/c

Automatically close Duplicate Cleaner once the scan has completed

 

Notes:

  • Unless changed by specifying a profile, Duplicate Cleaner will start with the most recently used settings.

  • File or folder names with spaces in should be surrounded by double-quote marks (")

  • Folders specified with /i or /e are added in addition to any loaded in the profile

  • In addition to the above, a folder name can be sent to Duplicate Cleaner with no switches, to enable usage with Windows features such as SendTo

 

 

Examples:

 

DuplicateCleaner.exe /i C:\Data\Docs /i C:\Data\Other

Starts Duplicate Cleaner with the two named folders added.

 

DuplicateCleaner.exe /i C:\Data\Docs /e C:\Data\Docs\Temp

Starts Duplicate Cleaner with the named folder added, and the temp folder excluded.

 

DuplicateCleaner.exe /p c:\profiles\checkdocs.dc /a /o c:\output\results.csv /c

This will load the profile called 'checkdocs.dc', run the scan, create an output results csv file and close the program.