How do I call and run CCleaner from command line ?
Is there a way to prevent the popup of the window GUI and let
CCleaner do the job quitely in the backgroud
(or at least minimized in the taskbar) ?
How do I call and run CCleaner from command line ?
Is there a way to prevent the popup of the window GUI and let
CCleaner do the job quitely in the backgroud
(or at least minimized in the taskbar) ?
CCleaner only supports a few command-line parameters.
CCleaner Setup has 2 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
CCleaner has 2 command-line parameters:
/AUTO - Runs the cleaner upon loading and then closes the application.
/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.
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
Copied straight from the Beginner's Guide. I recommend downloading it. Check the links in my sig.