godfreythemasterbaiter Posted March 15 Share Posted March 15 I sent a bug report email about this, but no one responded. I have two bug report. BUG REPORT 1 ------------------------------ win2app.ini file has "REMOVESELF" tags and CCleaner doesn't show deleted folders in advanced report page. "The REMOVESELF flag will do the same as RECURSE, but also remove any empty directories." BUG REPORT 2 ------------------------------ 1- Browse this folder: %APPDATA%\Discord\Cache 2- Delete inside, make this folder empty (%APPDATA%\Discord\Cache) 3- Open CCleaner and use win2app.ini 4- Add Exclude Rule: "%APPDATA%\Discord\Code Cache\*.*" 5- Use this -> Clean Discord* 6- You will see "%APPDATA%\Discord\Cache" folder not available The rule does not prevent the folder from being deleted. Link to comment Share on other sites More sharing options...
Moderators Nergal Posted March 15 Moderators Share Posted March 15 Winapp2 (the proper name) is not suoported outside the winapp2 topic. Though bug report one should get some developer attention if they note it. ADVICE FOR USING CCleaner'S REGISTRY INTEGRITY SECTION DON'T JUST CLEAN EVERYTHING THAT'S CHECKED OFF. Do your Registry Cleaning in small bits (at the very least Check-mark by Check-mark) ALWAYS BACKUP THE ENTRY, YOU NEVER KNOW WHAT YOU'LL BREAK IF YOU DON'T. Support at https://support.ccleaner.com/s/?language=en_US Pro users file a PRIORITY SUPPORT via email support@ccleaner.com Link to comment Share on other sites More sharing options...
Moderators Andavari Posted March 20 Moderators Share Posted March 20 That isn't going to work with the quotes around the command: 4- Add Exclude Rule: "%APPDATA%\Discord\Code Cache\*.*" See if these work: 4- Add Exclude Rule: %APPDATA%\Discord\Code Cache\*.* 4- Add Exclude Rule: %APPDATA%\Discord\Code Cache\|*.*||0|0|24 Link to comment Share on other sites More sharing options...
godfreythemasterbaiter Posted March 20 Author Share Posted March 20 1 hour ago, Andavari said: That isn't going to work with the quotes around the command: 4- Add Exclude Rule: "%APPDATA%\Discord\Code Cache\*.*" See if these work: 4- Add Exclude Rule: %APPDATA%\Discord\Code Cache\*.* 4- Add Exclude Rule: %APPDATA%\Discord\Code Cache\|*.*||0|0|24 Not work! You can see, I already add this lines in ccleaner.ini Cache folder = if EMPTY it gets deleted. And you can't see this folder deleted in Advanced Reports page. There is 2 bugs as you can see. 4- Add Exclude Rule: %APPDATA%\Discord\Cache\|*.*||0|0|24 (I misspell in first message) Link to comment Share on other sites More sharing options...
APMichael Posted March 21 Share Posted March 21 As far as I can remember, this behavior has always been like this. If a folder is empty (and no longer contains any files), it is always deleted by REMOVESELF. The exclude rule only protects the contents of a folder, but not the folder itself. However, deleting an empty folder should not be a problem in most cases. But if it is, the FileKeys of the Winapp2.ini entry must be adjusted accordingly. It is therefore not really a bug, but rather an overly "aggressive" FileKey. Link to comment Share on other sites More sharing options...
Moderators nukecad Posted March 21 Moderators Share Posted March 21 Hi all, I've changed the title of this thread to reflect that it's about winapp2 and not the main CCleaner. (I didn't merge it into the main winapp2 thread because it would have become fragmented). *** Out of Beer Error ->->-> Recovering Memory *** Worried about 'Tracking Files'? Worried about why some files come back after cleaning? See this link:https://community.ccleaner.com/topic/52668-tracking-files/?tab=comments#comment-300043 Link to comment Share on other sites More sharing options...
godfreythemasterbaiter Posted March 21 Author Share Posted March 21 3 hours ago, APMichael said: As far as I can remember, this behavior has always been like this. If a folder is empty (and no longer contains any files), it is always deleted by REMOVESELF. The exclude rule only protects the contents of a folder, but not the folder itself. However, deleting an empty folder should not be a problem in most cases. But if it is, the FileKeys of the Winapp2.ini entry must be adjusted accordingly. It is therefore not really a bug, but rather an overly "aggressive" FileKey. I want to prevent it from being deleted because I use a symbolic link. I use Cache Relocator + RAMDisk for Chrome, Discord Caches (Protecting SSD). CCleaner sees this folders an empty and deleting them. Quote The exclude rule only protects the contents of a folder, but not the folder itself. We should have option to prevent deleting if REMOVESELF used in winapp2.ini file. Also you ignoring other bug it is deleting empty folders and not showing advanced reports page. It is important when u use folders like this; Link to comment Share on other sites More sharing options...
APMichael Posted March 21 Share Posted March 21 Piriform only supports the cleanup rules built into CCleaner. The Winapp2.ini is only a tolerated extension of CCleaner users. If you deviate from a standard system and redirect folders, it is questionable whether Piriform will correct this. You will probably have no choice but to use your own Winapp2.ini in which you rewrite the problematic cleanup rules. Correct, CCleaner does not show deleted folders, it never has. Obviously, users are not interested enough. But there have been one or two requests for it here. But Piriform has not yet implemented it. You can possibly make a post in the "CCleaner Suggestions" forum. Link to comment Share on other sites More sharing options...
godfreythemasterbaiter Posted March 21 Author Share Posted March 21 Thanks for clarify, I don't think they will implement it. From what I see, they are currently focusing on creating an All-in-One tool. I would rather research a better removal tool rather than editing winapp2.ini for every update to fix the problems. Have a nice day. Link to comment Share on other sites More sharing options...
Moderators Andavari Posted March 26 Moderators Share Posted March 26 A possible workaround is to create a "protection" file in that folder location, it could be named anything such as DoNotDelete.txt, ProtectedFolder.txt, and then type in an brief description so you know why it's there in the future, i.e.; Protects this folder from being deleted by 3rd party cleaning tools. Then set the file attribute to read-only (and possibly also set it to hidden and system). Then input the file as an exclusion in CCleaner in 'Options > Exclude' to prevent the whole folder from being deleted, and the added benefit is you may not have to mess around with editing winapp2.ini files to fix CCleaners behaviour. I personally do this in some folders that I want it to clean, but where the folder must remain intact, i.e.; for audio and video encoding, etc., that programs expect to always exist. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now