Delete Folder & Contents
#1 OFFLINE
Posted 22 December 2008 - 06:18 PM
Peter
#2 OFFLINE
Posted 22 December 2008 - 06:43 PM




Betatesting a life!
Currently: E7-00 Symbian Anna 022.014 RM-626 | Previously: X7-00, N8-00, N97, N96 and at least 20 more
Official Nokia Ovi Suite Beta Tester | Nokia Beta Labs Contributor of the month (June, 2011) | Official Messenger Plus! Live Beta Tester | Official Messenger Discovery Beta Tester
#3 OFFLINE
#4 OFFLINE
Posted 22 December 2008 - 09:44 PM
MrG, on Dec 22 2008, 01:46 PM, said:
[list]
[*]Added command-line secure deletion.
e.g. CCleaner.exe /delete "folder*.*|MyFile.txt"




Betatesting a life!
Currently: E7-00 Symbian Anna 022.014 RM-626 | Previously: X7-00, N8-00, N97, N96 and at least 20 more
Official Nokia Ovi Suite Beta Tester | Nokia Beta Labs Contributor of the month (June, 2011) | Official Messenger Plus! Live Beta Tester | Official Messenger Discovery Beta Tester
#5 OFFLINE
#6 OFFLINE
Posted 22 December 2008 - 09:50 PM




Betatesting a life!
Currently: E7-00 Symbian Anna 022.014 RM-626 | Previously: X7-00, N8-00, N97, N96 and at least 20 more
Official Nokia Ovi Suite Beta Tester | Nokia Beta Labs Contributor of the month (June, 2011) | Official Messenger Plus! Live Beta Tester | Official Messenger Discovery Beta Tester
#7 OFFLINE
Posted 22 December 2008 - 09:59 PM
warmth, on Dec 22 2008, 05:50 PM, said:
I tried the command line /delete feature and it deletes the contents of the folder but not the folder itself so it is essentially the same as adding the folder to the include list. Is that the way /delete is supposed to work (delete the contents but not the folder itself)?
Peter
#8 OFFLINE
Posted 23 December 2008 - 12:14 AM
#9 OFFLINE
Posted 23 December 2008 - 12:41 AM
Augeas, on Dec 22 2008, 08:14 PM, said:
Yes, that would defeat the purpose.
So, I will clarify my original suggestion: On the Options|Include screen I would like a new option to specify that the contents of a particular folder should be deleted AND the folder itself should also be deleted.
Peter
#10 OFFLINE
Posted 26 December 2008 - 09:12 AM
#11 OFFLINE
Posted 27 December 2008 - 12:07 AM
Giga, on Dec 26 2008, 05:12 AM, said:
There are certain folders that keep getting generated over and over again by various programs - for temporary or other useless purposes. These folders always have the same name and are always in the same location. I don't want to have to manually delete them on a daily basis. Since I run CCleaner frequently it would be much easier if CCleaner would just delete the whole folder.
Peter
#12 OFFLINE
Posted 27 December 2008 - 12:31 AM
Go to Options/Include, Select Add Folder, add the folder you want deleting. When you have added the folder to CC's list, right click on the folder name and select Manual Edit. Remove the \*.* from the end of the folder name and save. Now run the Custom Files and Folders part of CC. The folder and its contents, if there are any, will be removed (the folder is not shown on Analyse, but still goes to folder heaven).
I suggest you test this on a safe folder, as I have just done. I would be a little cagey about deleting a sub-folder in c:\Windows, so do it at your own risk.
#13 OFFLINE
Posted 27 December 2008 - 12:43 AM
Nice one.
How To Get Into Safe Mode | Returnil 2008 | Sandboxie | ERUNT GUI | TestDisk | MiniTool Partition Wizard - Home Edition
#14 OFFLINE
Posted 27 December 2008 - 01:26 PM
Augeas, on Dec 26 2008, 08:31 PM, said:
Go to Options/Include, Select Add Folder, add the folder you want deleting. When you have added the folder to CC's list, right click on the folder name and select Manual Edit. Remove the \*.* from the end of the folder name and save. Now run the Custom Files and Folders part of CC. The folder and its contents, if there are any, will be removed (the folder is not shown on Analyse, but still goes to folder heaven).
I suggest you test this on a safe folder, as I have just done. I would be a little cagey about deleting a sub-folder in c:\Windows, so do it at your own risk.
Peter
#15 OFFLINE
Posted 23 January 2009 - 07:33 PM
pmokover, on Dec 27 2008, 09:26 AM, said:
Peter
It appears that if the folder in marked Read Only CCleaner will not delete it. I would like the option of having it delete the folder (and contents) regardless of how it's marked (read only, hidden, system).
Peter












