Jump to content
CCleaner Community Forums
Stokesson

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...