Jump to content

Exit code cleaning completion


Recommended Posts

I have been using CCleaner in scripts for several years to empty all the temporary files before a backup.  However since I upgraded from XP to Windows 10 I find CCleaner is returning the 0 completion code immediately rather than when the program closes and so I cannot wait for cleaning completion.


So could there be a command line variant of AUTO or AUTORB which does not return a status until the program closes?


In a batch file "Start /Wait CCleaner.exe /AUTO" would then work.


Or if I use a command window running CCleaner will not give me another prompt until it finishes.


My main use is as a Run First item in 2BrightSparks SyncBack program.

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.