Web Analytics
   Forum Home •   FAQ         
   Windows Forums
Last visit was: Tue Mar 03, 2009 5:43 am Donate a Dollar to Pay for Next Year’s Web Hosting It is currently Tue Mar 03, 2009 5:43 am

All times are UTC




 [ 8 posts ] 
Author Message
 Post subject: Add Delete Folder Contents to Right Click Context Menu
New postPosted: Tue Jan 27, 2009 2:29 pm 
Offline
Frequent Member
Frequent Member
User avatar

Joined: Sat Nov 01, 2008 12:54 pm
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
New postPosted: Tue Jan 27, 2009 3:40 pm 
Offline
Enthusiastic Member
Enthusiastic Member
User avatar

Joined: Sat Jun 07, 2008 1:08 pm
Posts: 67
Location: Rutland, UK
Is there any way you can delete to the recycle bin first?


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

Joined: Fri Sep 26, 2008 7:47 pm
Posts: 135
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 ?

_________________
less than 2 months to my birthday ( 10/4)
less than 2 months to the IT-MARATHON (27/4)
less than 2 months to our prom (23/4)
less than 3 months to the holiday ( 1/6)
:)


 Profile E-mail  
 Post subject: Re: Add Delete Folder Contents to Right Click Context Menu
New postPosted: Wed Jan 28, 2009 3:58 am 
Offline
Frequent Member
Frequent Member
User avatar

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


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

Joined: Fri Aug 29, 2008 1:17 pm
Posts: 18
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
New postPosted: Wed Jan 28, 2009 7:14 pm 
Online
Site Admin
Site Admin
User avatar

Joined: Mon Mar 03, 2008 12:33 am
Posts: 946
This works with XP and Vista (just tested.) If you have folders within the folder you delete, they will be retained.

_________________
Windows Tools, Help & Guides


 Profile E-mail  
 Post subject: Re: Add Delete Folder Contents to Right Click Context Menu
New postPosted: Fri Jan 30, 2009 2:34 am 
Offline
Established Member
Established Member
User avatar

Joined: Fri Aug 29, 2008 1:17 pm
Posts: 18
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
New postPosted: Fri Jan 30, 2009 10:22 am 
Offline
Frequent Member
Frequent Member
User avatar

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


 Profile E-mail  
Display posts from previous:  Sort by  
 [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: Alexa [Bot] and 3 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 www.mintywhite.com