There seems to be a horrible bug in the latest version - 2.11. As soon as I installed it, it proceeded to delete each and every folder labeled 'Log' or 'Backup' in my entire Program Files folder. I am not sure who all is beta testing this beauty, but it might be worth a look. :-) I replaced the latest version with the last and the folders no longer get deleted, so it's not in my winapp2.ini file...
I have create some empty folders in Program Files (and in some Applications folder as well)
assigning then some random names ('Log' and 'Logs' included) and they stay untouched.
Most interesting, Whiteshark ! I'm running Vista Business SP1 and I created a 'test' folder (empty) within the CCleaner folder. I can run the previous version of CCleaner all day long and the test folder remains. As soon as I run the latest version, with no other changes whatsoever, POOF, the empty folder is gone. By the way, I am running the portable version, should that help to resolve this dilemma.
Just tested the portable version myself (XP SP3) and couldn't recreate this behaviour - Added empty folders to the programs folder called log, logs, backup, backups and tried various CC options and the empty folders remained intact.
Installed and ran the normal version on XP SP2, and it never touched a couple of empty folders I have, and the only logs removed were the ones it's supposed to.
Not doubting what you say, just providing more info for the bug solvers.
I'm on Vista Business SP1 32bit fully updated. I've created some .log files, 2 empty folders named "empty" and "log" all under Program Files and run the latest CCleaner Slim version.
Everything worked fine as usual, nth from the above was deleted.
OK, guys, here we go. It took a bit of 'trial and error', but I finally narrowed it down to a specific entry in my winapp2.ini file.
Here it is:
FileKey15=%ProgramFiles%\|Install*|REMOVESELF
In the last version of CCleaner, this entry worked as it should, removing only the Install* folder from Program Files. In the latest version, it is this line that causes all empty folders to be erased under Program Files. I am sure you will be able to duplicate it now. Still sounds like an EXE bug to me, but if not, I'll be the first to 'fall on my sword'... ;-)
I've got Vista Ultimate 32-bit and CCleaner didn't do anything to the empty folders I put in Program Files. I do not use a winapp2.ini file on this machine and I did not have it set to empty the recycle bin, if that helps.
I think winapp2.ini needs some looking over, and any potentially troublesome cleaning routines need to be removed.
I would not automatically label this as a 'troublesome cleaning routine', since it ran flawlessly on previous versions of CCleaner. If and when Mr. G says this is no longer a legal entry, then I will happily find a 'work around.' Until then, I would at least like Mr. G to know the scenario exists, just in case it could be a faulty bit of code in CCleaner.exe.
you have to enable the tray icon option... then scan or clean directly and minimize CC... it will go to tray icons (icons where is the windows clock by default) and then check the tool tip that appears when you hover the CC tray icon...
in winapp2.ini is invalid. It has now been removed.
Please remember that we don't officially support the winapp2.ini file on the forum, so can't guaranteee it's reliability.
MrG
OK, guys, here we go. It took a bit of 'trial and error', but I finally narrowed it down to a specific entry in my winapp2.ini file.
Here it is:
FileKey15=%ProgramFiles%\|Install*|REMOVESELF
In the last version of CCleaner, this entry worked as it should, removing only the Install* folder from Program Files. In the latest version, it is this line that causes all empty folders to be erased under Program Files. I am sure you will be able to duplicate it now. Still sounds like an EXE bug to me, but if not, I'll be the first to 'fall on my sword'... ;-)