Jump to content
CCleaner Community Forums
pmokover

Delete Folder & Contents

Recommended Posts

It would be very useful to be able to specify a particular folder on the Options|Include list (or some new list) and have CCleaner delete the folder plus everything in the folder.

 

Peter

Share this post


Link to post
Share on other sites

Check the new release 2.15 :P

Share this post


Link to post
Share on other sites
Check the new release 2.15 :P

 

I have 2.15 and I don't see anything new about being able to delete a folder and its contents. Where exactly in 2.15 is this done?

 

Peter

Share this post


Link to post
Share on other sites
CCleaner v2.15.815

 

[*]Added command-line secure deletion.

 

e.g. CCleaner.exe /delete "folder*.*|MyFile.txt"

with this option you can do that... ;)

Share this post


Link to post
Share on other sites

right now only from the command line... maybe the suggestion will be better if you describe that the option will be select if you wanna delete the entire folder (with its content) or just the files inside it when you add a folder to the include list... ;)

Share this post


Link to post
Share on other sites
right now only from the command line... maybe the suggestion will be better if you describe that the option will be select if you wanna delete the entire folder (with its content) or just the files inside it when you add a folder to the include list... ;)

 

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

Share this post


Link to post
Share on other sites

Well, that's the way it does work. The only way I've found of deleting a folder is to nest it in another folder and then specify that folder, but that might be defeating the object.

Share this post


Link to post
Share on other sites
Well, that's the way it does work. The only way I've found of deleting a folder is to nest it in another folder and then specify that folder, but that might be defeating the object.

 

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

Share this post


Link to post
Share on other sites
Why not just throw the whole folder in the recycle bin? >_>

 

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

Share this post


Link to post
Share on other sites

If they are not on the c drive (in other words, the folder you want to delete is a sub-folder):

 

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.

Share this post


Link to post
Share on other sites
If they are not on the c drive (in other words, the folder you want to delete is a sub-folder):

 

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.

That seems to work! Thanks. It will be very useful.

 

Peter

Share this post


Link to post
Share on other sites
That seems to work! Thanks. It will be very useful.

 

Peter

An update...

 

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...