Help - Search - Members
Full Version: automatic ccleaner
Piriform Community Forums > Piriform Software > CCleaner Discussion
shpongler
i don't know somebody has ever mentioned it, but i miss the automatic cleanup option after ccleaner has been started up, first analyze, then clean up, then ... zzzz

that's the reason why i now use a batfile to run ccleaner and make my system clean automatically whenever i want:

@echo off
cd c:\
cd program files
cd CCleaner
ccleaner.exe /AUTO
exit

i just once have to configure the things that should be cleaned automatically, and from now on i can always use this batfile, even run it when loggin' in/off, starting/shutting down other progs... biggrin.gif
but would it be possible to integrate this function in the future?
shpongler
now the runbox is also cleared and the annoying windows live messenger hidden SQM files are also removed... biggrin.gif

@echo off
echo Ccleaner will start deleting the crap on your system.
echo.
echo Within a moment, explorer will reboot to clean the run box...
cd c:\
attrib -h *.sqm
del *.sqm
cls
cd program files
cd CCleaner
ccleaner.exe /AUTO
echo Just a couple of seconds to go...
taskkill /f /im explorer.exe
cls
start explorer.exe
echo Explorer has restarted, and the crap has been removed!
echo Ccleaner will close now...
exit
shpongler
just made an automatic installer with iexpress (the packager of windows, under %systemroot%\system32) of Crapcleaner and the batch file which makes ccleaner to clean your system automatically:

http://users.skynet.be/fa360838/CcleanerBatch_v1.0e.rar

the content of the package:

final.bat =
will run after the installation, copies the batch file to desktop and the msgbox which displays the dialogue messages to the %systemroot%

@echo off
xcopy /y msgbox.exe %systemroot%
xcopy /y ccleaner.bat "%userprofile%\Desktop"
cls


Ccleaner.bat =
has to be started manually by double click to run the ccleaner system clean

@echo off
title Ccleaner Batch 1.0
echo Ccleaner Batch 1.0 start deleting the crap on your system...
IF EXIST c:\*.sqm attrib -h c:\*.sqm
IF EXIST c:\*.sqm del c:\*.sqm
cd program files
cd CCleaner
ccleaner.exe /AUTO
cls
echo Explorer will reboot to clean the run box...
taskkill /f /im explorer.exe
start explorer.exe
cd %systemroot%
cls
msgbox Explorer has restarted, and the crap has been removed!
exit

msgbox.exe=
is the file which shows dialogue messages, downloaded from the net

ccsetup131.exe=
is the installation file of the most recent version of ccleaner which will be started automatically
TheFiresInTheSky
could you please explain what this batch does and what it takes out?
i dont like just running stuff because even CC, at first, cleaned out some stuff that i liked to keep.
shpongler
the batch file on its self does not delete anything (except the hidden windows live messenger SQM files) , it's you who chooses in Ccleaner what u wish to delete anytime you run the batch file.

So the first time u have to run Ccleaner, check or uncheck anything you wish to delete / keep, run the cleaning and then exit ccleaner. From then on u can always run the batch file to clean these crap cool.gif
TheFiresInTheSky
why not just set CC to run on startup?
and i use windows messenger.
shpongler
QUOTE(neighberaaron @ Jul 27 2006, 03:47 PM) [snapback]44284[/snapback]

why not just set CC to run on startup?
and i use windows messenger.

no not at startup, why would u do that, the u're just about to make your system filthy again???
my intention is just to have a crapcleaner @ your demand @ anytime u wish
and it doesn't matter which messenger u use, that doesn't affect the procedure
TheFiresInTheSky
so wouldnt just right clicking recycling bin and click run do the same thing?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.