DOWNLOAD: Best tool to repair Windows problems & optimize system performance | Best driver update software for your PC
 
Results 1 to 8 of 8

Thread: Add "Delete Folder Contents" to Right Click Context Menu

  1. #1
    dmudgal's Avatar
    dmudgal is offline Windows Enthusiast
    Join Date
    Aug 2008
    Posts
    108

    Cool Add "Delete Folder Contents" to Right Click Context Menu

    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

  2. #2
    Doug_72's Avatar
    Doug_72 is offline Senior Member
    Join Date
    Jul 2008
    Location
    Provo
    Posts
    232

    Default

    Interesting--saves you the trouble of opening folder, selecting all & then deleting....

  3. #3
    iMav's Avatar
    iMav is offline Gold Member
    Join Date
    Jul 2008
    Posts
    921

    Default

    Yup, this is a neat trick. Applicable to Vista too. Here is the registry file for the same:

    Download

  4. #4
    HappyAndyK's Avatar
    HappyAndyK is offline Site Administrator
    Join Date
    Jun 2008
    Posts
    7,572

    Default

    Works on Vista & Win 7 too.

    Oops, just saw your post iMav.

  5. #5
    dmudgal's Avatar
    dmudgal is offline Windows Enthusiast
    Join Date
    Aug 2008
    Posts
    108

    Default

    Thanks Manan for the dd link

  6. #6
    roraniel's Avatar
    roraniel is offline Gold Member
    Join Date
    Oct 2008
    Location
    Pinehurst, NC
    Posts
    860

    Default

    Cool beans!!!

    Quote Originally Posted by iMav View Post
    Yup, this is a neat trick. Applicable to Vista too. Here is the registry file for the same:

    Download

  7. #7
    chuckhig is offline Beginner
    Join Date
    Feb 2014
    Location
    NY
    Posts
    11

    Default Registry

    I just downloaded right click empty folder to my registry. It works fine and I thank you for your help. The only thing I do not like is that when I empty the folder,the contents are gone. They do not go to the recycle bin .If I make a mistake and want to reinstate the folder contents,I cannot. First how do I uninstall the right click registry entry if I decide I am not going to use it. Second is there a way I can direct deleted folder contents to my recycle bin. Thanks Chuck

  8. #8
    HappyAndyK's Avatar
    HappyAndyK is offline Site Administrator
    Join Date
    Jun 2008
    Posts
    7,572

    Default

    I presume you have downloaded Add Empty Folder Contents to Windows Right Click Context Menu

    To remove the entry, create a system restore point, open the Registry Editor and navigate to HKEY_CLASSES_ROOT\Directory\shell and delete key: Delete Folder Contents.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22