Jump to content


Suggestion: Force programs to close before cleaning


1 reply to this topic

#1 OFFLINE   2Loc

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 09 August 2009 - 01:40 AM

Plz add an option to force browsers to close before cleaning. Have a dialog to confirm closing openned browsers. Also restarts those browser once cleaning is done. Firefox have a auto resume to lass session, so it's perfect.

Right now, I'm just using schedule in windows that runs a vbscript to close firefox and then run ccleaner. It's the best solution I can come up with right now so I hope this would be implement in the future.

#2 OFFLINE   Alan_B

    Super Hero

  • Members
  • PipPipPipPipPip
  • 2,103 posts
  • Gender:Male
  • Location:Lancashire, England

Posted 12 August 2009 - 10:57 AM

View Post2Loc, on Aug 9 2009, 01:40 AM, said:

Plz add an option to force browsers to close before cleaning. Have a dialog to confirm closing openned browsers. Also restarts those browser once cleaning is done. Firefox have a auto resume to lass session, so it's perfect.

Right now, I'm just using schedule in windows that runs a vbscript to close firefox and then run ccleaner. It's the best solution I can come up with right now so I hope this would be implement in the future.

You could alter a CCleaner desktop short cut to NOT run CCleaner,
but to run a batch script that will run your vbscript and then run CCleaner.
You can use short cuts with different arguments for different modes of operation and depths of cleaning.

I am using a script that uses 3 arguments and concludes with "START CCLEANER %2 %3",
and that allows the shortcut arguments %2 %3 to determine whether to assert /AUTO /SHUTDOWN
You can of course omit any arguments and simply do "START CCLEANER"
I have posted details of my script at http://forum.pirifor...showtopic=23228

I would like to start my script with something like "cscript //nologo Stop_Firefox.vbs",
then I will know that the Firefox cache in all user profiles are cleansed when they log off.

Please post your vbscript.
preferably in a code box because I believe there may be difficulties in downloading from this site

Regards
Alan