Web Analytics
   Register •   Forum Home •   FAQ      Login    
   Windows Forums Register
Donate a Dollar to Pay for Next Year’s Web Hosting It is currently Wed Dec 30, 2009 11:50 am

All times are UTC - 5 hours [ DST ]


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Add Delete Folder Contents to Right Click Context Menu
PostPosted: Tue Jan 27, 2009 10:29 am 
Offline
Frequent Member
Frequent Member
User avatar

Joined: Sat Nov 01, 2008 8:54 am
Posts: 22
With the help of this tutorial you can add the option Delete Folder Contents to the right-click context menu which appears when you right-click a folder.This would come handy at times when you want to delete all the files inside a folder and all it’s sub-folders without deleting the folders themselves.

Image



Here’s how you can do this:

* Click on Start button, type regedit in the search box and hit enter.
* In Regedit, go to: HKEY_CLASSES_ROOT\Directory\shell
* Right-click on shell, create a new Key and name it Delete Folder Contents

Image
v

v
Image

* Again right-click on Delete Folder Contents, create a new Key and name it command

Image

* In the right pane, double-click on (Default) string value and type

cmd /c "cd /d %1 && del /s /q *.* in the value data field and hit OK

Image

* Close Registry Editor and your done



 Profile E-mail  
 Post subject: Re: Add Delete Folder Contents to Right Click Context Menu
PostPosted: Tue Jan 27, 2009 11:40 am 
Offline
Moderator
Moderator
User avatar

Joined: Sat Jun 07, 2008 9:08 am
Posts: 976
Location: UK
Is there any way you can delete to the recycle bin first?

_________________
Image


 Profile E-mail  
 Post subject: Re: Add Delete Folder Contents to Right Click Context Menu
PostPosted: Tue Jan 27, 2009 3:00 pm 
Offline
Highly Valued Member
Highly Valued Member
User avatar

Joined: Fri Sep 26, 2008 3:47 pm
Posts: 214
Location: AUH-UAE
wow , that is something amazing and i really didnt think of that before but just a question where will the files move to the recycle bin or something ?

_________________
midterms are on the way :S


 Profile E-mail  
 Post subject: Re: Add Delete Folder Contents to Right Click Context Menu
PostPosted: Tue Jan 27, 2009 11:58 pm 
Offline
Frequent Member
Frequent Member
User avatar

Joined: Sat Nov 01, 2008 8:54 am
Posts: 22
The files will be permanently deleted.


 Profile E-mail  
 Post subject: Re: Add Delete Folder Contents to Right Click Context Menu
PostPosted: Wed Jan 28, 2009 2:16 pm 
Offline
Frequent Member
Frequent Member
User avatar

Joined: Fri Aug 29, 2008 9:17 am
Posts: 42
Location: USA
Would this also work in Vista? I would love to have the feature to delete pictures once I've saved them into my external hard drive. I could then just use the same folder and rename it instead of having to make a new folder.

_________________


 Profile E-mail  
 Post subject: Re: Add Delete Folder Contents to Right Click Context Menu
PostPosted: Wed Jan 28, 2009 3:14 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Sun Mar 02, 2008 8:33 pm
Posts: 1470
This works with XP and Vista (just tested.) If you have folders within the folder you delete, they will be retained.

_________________
Learn how to customize and improve your PC.


 Profile E-mail  
 Post subject: Re: Add Delete Folder Contents to Right Click Context Menu
PostPosted: Thu Jan 29, 2009 10:34 pm 
Offline
Frequent Member
Frequent Member
User avatar

Joined: Fri Aug 29, 2008 9:17 am
Posts: 42
Location: USA
Thanks, Rich. I usually just have pictures in the folder and no folders within folders. So, this will help a lot. :)

_________________


 Profile E-mail  
 Post subject: Re: Add Delete Folder Contents to Right Click Context Menu
PostPosted: Fri Jan 30, 2009 6:22 am 
Offline
Frequent Member
Frequent Member
User avatar

Joined: Sat Nov 01, 2008 8:54 am
Posts: 22
Yes.it works on vista too. happyComputing


 Profile E-mail  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google Adsense [Bot], nikitash and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  


© 2008-09 www.mintywhite.com | Rich Robinson