Jump to content
CCleaner Community Forums


Experienced Members
  • Content Count

  • Joined

  • Last visited

Everything posted by dexter86

  1. I'm talking about "Drive Wiper -> Free Space Only". It's done in two steps. First, as you said, it allocates large number of small files and directories with "...ZZZ..." filenames, second it creates one big file filed with zeros to wipe free space. Now, I'm talking about first step here. It's this that takes very long to complete. And I know how long it takes depends on number of entries that are marked as deleted in MFT. And it's not a heavy I/O process because using simple batch file to create 100000 files took a few seconds to run.
  2. On NTFS partition with 64KB cluster size it takes very long for CCleaner to wipe MFT (I'm not talking about wiping free space!). Remaining time is slowly increasing instead of going down and HDD actuator is grinding like crazy if I can say so. After 1,5 hour it only completed 17% and current remaining time is 1h 20min and slowly increasing. My MFT size is not that big, 258,50 MB with 264703 entries (and it's not fragmented). I'm pretty sure the problem is 64KB cluster size.
  3. No "utter" rewrite of the code is necessary, just add function to detect custom dir, and use it ONLY with programs that store temp files in install dir (and it's subdir). And first, detecting custom program location would only "initiate" if DetectKey would pass and ONLY if that program stores some temp files in it's subdirs So your example with browser, this doesn't apply because browsers store their temp files in %AppData% or %LocalAppData%. This custom location would only be stored in memory. And reading a registry key and checking if that location exist is very fast. Of course it would pro
  4. You are probably first person to understand Yes, that is exactly what I'm trying to accomplish here. A note about your example, "DetectFile" is what the name suggest, used for detect if there is a file, for cleaning files it's FileKey1, FileKey2 etc. So that last line in your example should be something like this FileKey1=%CustomPath%\tenfoot\config\httpcache|*.*|RECURSE
  5. %ReadValue1% is a temporary variable which will store Steam install path, so that FileKey1 can use it to clean it And this is the reason why I started this topic. To add functionality to CCleaner so that it can read that path from registry I know, I have been doing that for a long time. But it amazes me that devs are using that "stupid" way to detect Steam or perhaps any other app. It should read path from registry.
  6. And I see you don't understand. I'm NOT talking about detecting IF APPLICATION EXIST. I'm talking about DETECTING APPLICATION's FOLDER <sarcasm>Plot twist: Many programs allow you to change install path</sarcasm> <- This thread is about that situation. You install Steam to let's say D:\Steam and it doesn't matter that steam is "detected" by Detect=HKCU\Software\Valve\Steam because it won't be cleaned because CCleaner would still try to Clean folders in default location. And your example with SuperAntiSpyware isn't good, because as you can see, all path that will be cleaned are
  7. CCleaner mostly only checks if file exist in specific location, with Steam as example, CCleaner just checks %ProgramFiles%\Steam\Steam.exe exist, but what it should do is read location from HKEY_CURRENT_USER\Software\Valve\Steam\SteamPath. If dev team would implement that, they should also expose this for other to use in winapp2.ini, and I made example how it could be done. Here a "proper" example, taken from winapp2.ini, instead of using [Steam Big Picture Cache*] Section=Games Detect=HKCU\Software\Valve\Steam Default=False FileKey1=%ProgramFiles%\Steam\tenfoot\config\httpcache|*.*|RECURSE
  8. Well, English is not my native language but I didn't think there would be any problem with understanding. I don't know how can I write this simpler for anyone to understand, I even gave an example with Steam.
  9. No response from anyone? C'mon guys, I'm disappointed...
  10. It would be a huge change, because when one is using custom install folders, CCleaner won't clean them. A good example is Steam, right now CCleaner checks for %ProgramFiles%\Steam\Steam.exe only, but it should read HKEY_CURRENT_USER\Software\Valve\Steam\SteamPath value. Supporting this for winapp2 is also a must, let's say something like this ReadValue1=HKEY_CURRENT_USER\Software\Valve\Steam\SteamPath and then storing that value in %ReadValue1% etc.
  11. It's better to change [Creative Soundblaster X-Fi XtremeMusic (Cache & Logs)*] to something like this [Creative Soundblaster (Cache & Logs)*] LangSecRef=3024 Detect1=HKLM\Software\CREATIVE TECH\Software Installed\Software Update Detect2=HKLM\Software\CREATIVE TECH\Sound Blaster X-Fi MB Default=False FileKey1=%CommonAppData%\Creative\Software Update\Cache|*.*|REMOVESELF FileKey2=%CommonAppData%\Creative\Software Update\Log|*.* FileKey3=%LocalAppData%\VirtualStore\ProgramData\Creative\Software Update\Cache|*.*|REMOVESELF FileKey4=%LocalAppData%\VirtualStore\ProgramData\Creative\Softwar
  • Create New...