/script command

Top   Previous   Next

The /script: command line option allows you to run the specified script .  The script must already exist and it must have been created from within zsDuplicateHunter.  ZsDuplicateHunter will also automatically recognize any scripts that you have created when you double click on them (assuming that you did not disable setting file extensions during the installation).

 

This command can be used when you want to do more advanced tasks with zsDuplicateHunter than the provided command line options allow but you still want to run zsDuplicateHunter from the command line.

 

The /script command can only be used in the Enterprise Edition of zsDuplicateHunter.

 

To automatically show the results after the script finishes, specify the /showResults option.

 

Usage Example

zsDuplicateHunter  /script:"e;c:\zsDuplicateHunter\advanced tasks.zsDHScr"e; /close

This example runs the script c:\zsDuplicateHunter\advanced tasks.zsDHScr after loading zsDuplicateHunter.  The actions the script performs depend on the actual script being loaded.  When the script finishes running, zsDuplicateHunter will be closed automatically.