Special Posted February 22, 2015 Share Posted February 22, 2015 I want CCleaner to clean a custom location lets call it FolderA, I want to delete every file/folder inside FolderA but to leave one single folder alone that's inside, lets call this FolderB, but I also want to delete all the files/folders insideFolderB. Is something like this possible? D:\FolderA\FolderB So if possible, how can setup CCleaner to delete everything inside FolderA & FolderB but to leave the actual FolderB? Link to comment Share on other sites More sharing options...
Willy2 Posted February 22, 2015 Share Posted February 22, 2015 Try if selecting "Files only" would do the trick. Perhaps you also can use a combination of folders & files added to both the "Include" & "Exclude" options. System setup: http://speccy.piriform.com/results/gcNzIPEjEb0B2khOOBVCHPc A discussion always stimulates the braincells !!! Link to comment Share on other sites More sharing options...
trium Posted February 22, 2015 Share Posted February 22, 2015 1. step --> options --> settings --> include --> add --> "Drive or Folder" --> with "browse" to your destination or manuall "D:\FolderA" --> Files types -All Files --> Options "include files and subfolders" --> OK! --> Warning-Window confirm with yes 2. step --> as above --> include --> "Drive or Folder" --> D:\FolderA\FolderB --> File Types -All Files --> Options "includes files and subfolders" --> OK! --> Warning-Window confirm with yes thats it 3. step --> as above --> exclude --> "Add" --> "D:\FolderA\FolderB" --> "File Types" --> File Type: -" " (only 1 space) --> "OK" it works, i have just try it --> Versions of CCleaner Cloud; Introduction Ccleaner Cloud; Ccleaner-->System-Requirements; Ccleaner FAQ´s; Ccleaner builds; Scheduling Ccleaner Free Es ist möglich, keine Fehler zu machen und dennoch zu verlieren. Das ist kein Zeichen von Schwäche. Das ist das Leben -> "Picard" Link to comment Share on other sites More sharing options...
trium Posted February 22, 2015 Share Posted February 22, 2015 can this post someone delete...? has become superfluous Versions of CCleaner Cloud; Introduction Ccleaner Cloud; Ccleaner-->System-Requirements; Ccleaner FAQ´s; Ccleaner builds; Scheduling Ccleaner Free Es ist möglich, keine Fehler zu machen und dennoch zu verlieren. Das ist kein Zeichen von Schwäche. Das ist das Leben -> "Picard" Link to comment Share on other sites More sharing options...
Special Posted February 22, 2015 Author Share Posted February 22, 2015 1. step --> options --> settings --> include --> add --> "Driver or Folder" --> with "browse" to your destination or manuall "D:\FolderA" --> Files types -All Files --> Options "include files only" --> OK! --> Warning-Window confirm with yes 2. step --> as above --> include --> "Drive or Folder" --> D:\FolderA\FolderB --> File Types -All Files --> Options "includes files and subfolders" --> OK! --> Warning-Window confirm with yes thats it This makes it so folders and things inside said folders do not get deleted, I want everything to get deleted except FolderB I have not tried if it works, if you have in the 1st step the subfolder include, but in exclude add the "D:\FolderA" and "D:\FolderA\FolderB" ... I've tried this as well, it does prevent FolderB from getting deleted but nothing inside FolderB gets deleted either. Link to comment Share on other sites More sharing options...
Winapp2.ini Posted February 22, 2015 Share Posted February 22, 2015 Can you set up your includes and excludes as includes: D:\Folder A|*.*D:\Folder A\Folder B|*.*Excludes: D:\Folder A|Folder B that might work winapp2.ini additions thread winapp2.ini github Link to comment Share on other sites More sharing options...
trium Posted February 22, 2015 Share Posted February 22, 2015 1. step --> options --> settings --> include --> add --> "Drive or Folder" --> with "browse" to your destination or manuall "D:\FolderA" --> Files types -All Files --> Options "include files and subfolders" --> OK! --> Warning-Window confirm with yes 2. step --> as above --> include --> "Drive or Folder" --> D:\FolderA\FolderB --> File Types -All Files --> Options "includes files and subfolders" --> OK! --> Warning-Window confirm with yes thats it 3. step --> as above --> exclude --> "Add" --> "D:\FolderA\FolderB" --> "File Types" --> File Type: -" " (only 1 space) --> "OK" it works, i have just try it --> this as above works fine, i have just try it... ;-) Versions of CCleaner Cloud; Introduction Ccleaner Cloud; Ccleaner-->System-Requirements; Ccleaner FAQ´s; Ccleaner builds; Scheduling Ccleaner Free Es ist möglich, keine Fehler zu machen und dennoch zu verlieren. Das ist kein Zeichen von Schwäche. Das ist das Leben -> "Picard" Link to comment Share on other sites More sharing options...
Special Posted February 22, 2015 Author Share Posted February 22, 2015 ^^ Weird it doesn't work for me, I've followed the above, then populated polluted both folders with random junk like "New Folder", "New.zip", "New.txt", "New Briefcase", ect. then copied them even more and the "Folders" and "Briefcase" were still left after running CCleaner (the other files types were no though). And I think I found a bug with CCleaner doing this, after removing "step 2" and "step 3" rules but leaving "step 1" CCleaner still wouldn't delete the files that were left. Link to comment Share on other sites More sharing options...
trium Posted February 22, 2015 Share Posted February 22, 2015 i have my mistake ;-) 3. step --> as above --> exclude --> "Add" --> "D:\FolderA\FolderB" --> "File Types" --> File Type: -"FolderB" (the name of the folder) --> "OK" i have just tried it 2 times with copied files and folders in FolderA and FolderB Versions of CCleaner Cloud; Introduction Ccleaner Cloud; Ccleaner-->System-Requirements; Ccleaner FAQ´s; Ccleaner builds; Scheduling Ccleaner Free Es ist möglich, keine Fehler zu machen und dennoch zu verlieren. Das ist kein Zeichen von Schwäche. Das ist das Leben -> "Picard" Link to comment Share on other sites More sharing options...
Special Posted February 23, 2015 Author Share Posted February 23, 2015 i have my mistake ;-) 3. step --> as above --> exclude --> "Add" --> "D:\FolderA\FolderB" --> "File Types" --> File Type: -"FolderB" (the name of the folder) --> "OK" i have just tried it 2 times with copied files and folders in FolderA and FolderB This works! Thanks for taking the time to figure it out, one small correction though. line 4 --> "D:\FolderA\FolderB" should be --> "D:\FolderA\" Link to comment Share on other sites More sharing options...
trium Posted February 23, 2015 Share Posted February 23, 2015 yes Versions of CCleaner Cloud; Introduction Ccleaner Cloud; Ccleaner-->System-Requirements; Ccleaner FAQ´s; Ccleaner builds; Scheduling Ccleaner Free Es ist möglich, keine Fehler zu machen und dennoch zu verlieren. Das ist kein Zeichen von Schwäche. Das ist das Leben -> "Picard" 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