Jump to content

CCleaner "restart when done"


GrampaDick

Recommended Posts

  • Moderators

Most of what CCleaner does now won't require a restart such as cleaning the Internet Explorer index.dat files, etc., so if your reason for wanting it to restart Windows to "clean some extra stuff" well it isn't needed anymore.

 

However there is a way to use Windows own "shutdown" command and CCleaner in a batch file to force a restart.

 

Working Windows XP example (don't know how this would work on Windows Vista/7 however):

"%ProgramFiles%\CCleaner\CCleaner.exe" /AUTO
shutdown -r -t 10 -c "Restart after CCleaner"

You can learn how to fully use "shutdown" via a command prompt and by typing in:

shutdown /?

Link to comment
Share on other sites

You can learn how to fully use "shutdown" via a command prompt and by typing in:

shutdown /?

I have found u can also display it by the following:

 

- Winkey/R/CMD + Enter

- Shutdown + Enter

 

Easy combo. No need for /? on my machine, it seems.

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.