Jump to content

automatic ccleaner


shpongler

Recommended Posts

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... :D

but would it be possible to integrate this function in the future?

Link to comment
Share on other sites

now the runbox is also cleared and the annoying windows live messenger hidden SQM files are also removed... :D

 

@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

Link to comment
Share on other sites

  • 2 weeks later...

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 B)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.