|
CCleaner Beginner's Guide |
|
Command-line Parameters
CCleaner only supports a few command-line
parameters.
CCleaner Setup has 3 command-line parameters:
/S - This will install CCleaner with the default options. You will not
get a setup screen!
/D - This will change the default install directory of CCleaner. Example: /D=C:\CCleaner
Best used like ccsetupXXX.exe /S /D=C:\CCleaner
/L= - This will install CCleaner with the language file you choose.
Example: /L=1033
CCleaner has 3 command-line parameters:
/AUTO - Runs the cleaner upon loading and then closes the application.
The CCleaner /AUTO parameter can be used in and with:
This is the parameter to use in shortcuts, batch files, or in Task Scheduler (including the quotes) (three examples included):
To make it run at every system startup do the following:
To automatically clean All User Profiles on Windows XP (when each individual user logs onto their user profile):
/DEBUG - Runs the program in debug mode,
only recommended for advanced users.
The command-line parameters can be useful if you don't want to hit the
Close/Exit every time, or if you are having a problem, and need to find out what
is crashing CCleaner.
/SHUTDOWN - This will shutdown your PC
after cleaning. Must be used with /AUTO.
The command-line parameters can be useful if you don't want to hit the
Close/Exit every time, or if you are having a problem, and need to find out what
is crashing CCleaner.
To do this, Right Click on the CCleaner shortcut, and then click on Properties.
In Target, you should see something like this: "C:\Program Files\CCleaner\ccleaner.exe".
Just add the command-line parameter at the end, it should look something like
this:
"C:\Program Files\CCleaner\ccleaner.exe" /AUTO /SHUTDOWN
| Copyright © 2005-2008 Piriform Ltd. |