Jump to content

Run CCleaner before defrag


Daniel H.

Recommended Posts

In the dropdown menu located in the Defrag button there should be a "clean temp files then defrag" or "CCleaner>Defrag". I feel this way because before you defrag you want to kill those wasteful temp files. Defraggler would have to detect if there is a CCleaner installation for this to work.

Link to comment
Share on other sites

  • 2 weeks later...
In the dropdown menu located in the Defrag button there should be a "clean temp files then defrag" or "CCleaner>Defrag". I feel this way because before you defrag you want to kill those wasteful temp files. Defraggler would have to detect if there is a CCleaner installation for this to work.

 

Not necessarily. CCleaner could be built into Defraggler, & it could run before defragging. It could be updated with each version of Defraggler! Having a built in version would eliminate the need for a check/download if they did not have it!

Link to comment
Share on other sites

Not exactly logical since ccleaner could be installed any ware. There is no magic way of knowing where it's installed.

No fate but what we make

Link to comment
Share on other sites

It's in the registry: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\ccleaner.exe

 

Yeh sorry i know that, I have moved the exe once or twice and it didn't update. Maybe it's just me.

No fate but what we make

Link to comment
Share on other sites

... I have moved the exe once or twice and it didn't update.

I assume this entry is updated by the installer; so yeah if you just moved the exe this wouldn't get updated.

 

Similarly, if you only have the portable version deployed this entry wouldn't exist either, so going back to the OP you'd only want to offer ccleaner from defraggler if this entry was present. Haven't made up my mind yet whether or not I think this would be a good idea anyway!

Link to comment
Share on other sites

Not exactly logical since ccleaner could be installed any ware. There is no magic way of knowing where it's installed.

 

You don't need to know where it is installed if it is built into defraggler. It would use relative paths.

 

I know about this from making my own portable apps.

Link to comment
Share on other sites

  • 3 weeks later...

I want to add my support for the idea of being able to run CCleaner before defrag (in fact I was going to suggest it myself), but the suggested user interface isn't sufficient.

 

The reason for running CCleaner first are both the make the defrag run faster (no need to defrag the files that you deleted), and to make it more effective (the files you actually use will be placed closer together, not separated by "junk" files that should be deleted.

 

The reason the suggested user interface, the addition to the drop down menu, is not sufficient is that it requires human intervention and thus wouldn't work with defrag calls that are the result of regularly scheduled defrags, i.e. those invoked by the automatic scheduling function. So, while the addition to the drop down menu would work for manual invocations of Defraggler and might be the best way of handling those, there should be a method chosen to invoke CCleaner that you can have run without requiring mouse clicks, etc. There are several ways this could be done, and I don't have a strong opinion on which way is best.

 

An alternative that would satisfy my requirements in this area is to build the automatic scheduling function into CCleaner. Then I could just have it scheduled a few minutes before the scheduled Defraggler run.

 

Also, as to whether CClearner should be "built-in" to Defragler, or the standard CCleaner should be called by Defragler is a choice best left to the developer. We should only care that it works, not what mechanism is used "under the covers" to make it work.

 

Thanks for your attention and for continually improving your products.

Link to comment
Share on other sites

  • 3 weeks later...

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.