Command Line Parameters

SafeClean Utilities provides you possibility to run without user attention. You can either specify command line parameters or write a shell script using automation. 

Parameters available in SafeClean Utilities 3.0 are listed here:


Parameters

/auto

Enable auto mode. This switch must be turned on to be able to use the switches below.

/scan:"C:\"

Only scan the given drive or folder. If you do not use this switch, SafeClean Utilities will scan all harddisks.

/setting:"C:\my_setting_path\settings.ini"

Use this customized setting file instead of the standard one

/autoclean

Clean the files with the selected action without ask the user

/zipdelete /target:"C:\xxxxx\test.zip"

Automatically select "Zip & Delete"

/move /target:"C:\xxx\"

Automatically select "Move"

/recycle

Automatically select "Recycle Bin"

/deleteonly

Automatically select "Delete Only "

/ignorefiles

Ignore Disk Scanner rules in the selected job setting

/ignoretracks

Ignore Track Scanner rules in the selected job setting

/ignoreshortcuts

Ignore Shortcuts Scanner rules in the selected job setting

/ignoreprograms

Ignore Orphan Program Scanner rules in the selected job setting

/help

Start the help information

/diskinfo
/diskinfo:"C:\xxx\path_to_explore"

Launch DiskInfo Component to explore the path


Samples

If you want to let SafeClean Utilities clean all your drives and automatically delete them, you can use:

C:\path_to_the_program\safecln.exe /auto /delete /autoclean

If you only want to scan the "program files" folder and the windows folder, and then move the collected files to c:\backup\, and also you wish to prompt the user before cleaning, you can use:

C:\path_to_the_program\safecln.exe /auto /scan:"c:\program files\" /scan:"c:\windows\" /move /target:"c:\backup"


Related links