Parameter | Explanation | Example |
ccsetup.exe /S | This performs a silent install of CCleaner with default options. | ccsetup.exe /S |
ccsetup.exe /D=<pathname> | This installs CCleaner into a different folder than the default. | ccsetup.exe /D=C:Directory (In this example, CCleaner would be installed in the C:Directory folder.) |
ccsetup.exe /L=<locale> | This installs CCleaner with a language file identified by the locale ID. For a list of locale IDs, see http://support.microsoft.com/kb/221435. For a list of CCleaner's supported languages, see this topic. | ccsetup.exe /L=1036 (In this example, CCleaner would be installed in French.) |
Parameter | Explanation |
CCleaner.exe /AUTO | CCleaner runs silently and automatically, using the current set of saved options to clean the PC. CCleaner then exits. |
CCleaner.exe /AUTO /SHUTDOWN | CCleaner runs silently and automatically, using the current set of saved options to clean the PC. Windows then shuts down automatically. Note: You cannot run /SHUTDOWN by itself. It must be preceded by /AUTO. |
CCleaner.exe /EXPORT | CCleaner exports the cleaning rules to the INI files. Three INI files will be created in the CCleaner's installation folder - winapp.ini, winreg.ini and winsys.ini. They contain cleaning rules for the Application section, Registry Cleaner and the Windows section respectively. |
CCleaner.exe /DELETE 'path_to_file(s)' /METHOD '0-3' | CCleaner silently performs secure deletion for folders/files specified. You can specify multiple files/folders separating them with the '|' character. Dmg mori davis california. Example: CCleaner.exe /delete 'D:TempSDelete*.*|D:TempSDelete*.log|D:TempSDelete*.txt|D:TempSDeletetest.bmp' The Method parameter defines the secure deletion type: 0 - 1 Pass 1 - 3 Passes 2 - 7 Passes 3 - 35 Passes Note: You cannot use /METHOD by itself. It must be preceded by /DELETE. |
Parameter | Explanation | Example |
analyze ['log_filename.txt'] | Analyses using the rules defined in ccleaner.ini and puts the results in log_filename.txt | ccleaner.exe /analyze 'log.txt' |
clean ['log_filename.txt'] | Cleans using the rules defined in ccleaner.ini and puts the results in log_filename.txt | ccleaner.exe /clean 'log.txt' |
update | Performs an immediate silent update. | ccleaner.exe /update |