View Single Post
  (#1 (permalink)) Old
dmudgal Offline
Windows Enthusiast
 
dmudgal's Avatar
 
Posts: 109
Join Date: Aug 2008
Cool Add "Delete Folder Contents" to Right Click Context Menu - 01-29-2009, 02:37 PM

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.





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\shel

* Right-click on shell, create a new Key and name it Delete Folder Contents



v

v



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



* 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



* Close Registry Editor and your done


www.animateindia.blogspot.com
   
Reply With Quote