Context Menu - Add Empty Folder and Subfolders

Page 1 of 2 12 LastLast
    Context Menu - Add Empty Folder and Subfolders

    Context Menu - Add Empty Folder and Subfolders

    How to Add "Empty Folder and Subfolders" to Context Menu in Windows
    Published by
    Designer Media Ltd


    How to Add "Empty Folder and Subfolders" to Context Menu in Windows


       Information
    This tutorial will show you how to add Empty Folder and Subfolders to the context menu to be able to automatically permanently delete all file contents of a folder and it's subfolders without deleting the subfolders in Vista, Windows 7, and Windows 8.

       Warning
    Be careful of what folder you decide to empty. The files deleted by this are permanently deleted and not placed in the Recycle Bin.


    EXAMPLE: Context Menu with "Empty Folder and Subfolders" added
    Context Menu - Add Empty Folder and Subfolders-w7-context_menu.jpg



    Here's How:
    1. To Add Empty Folder and Subfolders
    NOTE: This will add Empty Folder and Subfolders to the context menu to automatically permanently delete the file contents of a folder and it's subfolders when used.
    A) Click on the Download button below to download the
    Add_Empty_Folder_and_Subfolders.reg file below.
    B) Go to step 7.
    2. To Add Empty Folder and Subfolders with a Prompt
    NOTE: This does the same as step 1, but will prompt you to type Y or N in the command prompt to approve each file before it is permanently deleted.
    A) Click on the Download button below to download the
    Add_Empty_Folder_and_Subfolders_Prompt.reg file below.
    B) Go to step 7.
    3. To Remove Empty Folder and Subfolders
    NOTE: This will remove Empty Folder and Subfolders (step 1 or step 2) from the context menu.
    A) Click on the Download button below to download the
    Remove_Empty_Folder_and_Subfolders.reg file below.
    B) Go to step 7.
    4. To Add Empty Folder and Not Subfolders
    NOTE: This will add Empty Folder and Not Subfolders to the context menu to automatically permanently delete the file contents of only the selected folder and none of it's subfolders when used.
    A) Click on the Download button below to download the
    Add_Empty_Folder_and_Not_Subfolders.reg file below.
    B) Go to step 7.
    5. To Add Empty Folder and Not Subfolders with a Prompt
    NOTE: This does the same as step 4, but will prompt you to type Y or N in the command prompt to approve each file before it is permanently deleted.
    A) Click on the Download button below to download the
    Add_Empty_Folder_and_Not_Subfolders_Prompt.reg file below.
    B) Go to step 7.
    6. To Remove Empty Folder and Not Subfolders
    NOTE: This will remove Empty Folder and Not Subfolders (step 4 or step 5) from the context menu.
    A) Click on the Download button below to download the
    Remove_Empty_Folder_and_Not_Subfolders.reg file below.
    7. Save the .reg file to your desktop.

    8. Double click/tap one the downloaded .reg file to merge it.

    9. If prompted, click/tap on Run, Yes (UAC-Windows 7/8) or Continue (UAC-Vista), Yes, and OK when prompted.

    10. When finished, you can delete the downloaded .reg file if you like.
    That's it,
    Shawn









  1. Posts : 12
    Windows 7
       #1

    Wow...good job
      My Computer


  2. Posts : 1,065
    Windows 7 Ultimate x64
       #2

    Is there anyway to send the files to the recycle bin first?
      My Computer


  3. Posts : 72,524
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #3

    Hello Stu,

    Not that I know of. Other than manually deleting them, step 2 is about the closest option to at least prompt you before deleting them.
      My Computer


  4. Posts : 1,065
    Windows 7 Ultimate x64
       #4

    Nevermind, still a very handy tweak , thanks a bunch :)
      My Computer


  5. 24c
    Posts : 486
    Win7 x64 Ult
       #5

    Thanks, just what I have been looking for.
      My Computer


  6. Posts : 1,065
    Windows 7 Ultimate x64
       #6

    Shawn, how would one go about modifying this to become a context menu item to just empty the folder and not empty the subfolder too?
    TIA :)
      My Computer


  7. Posts : 72,524
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #7

    Hello Stu,

    No problem. Steps 4, 5, and 6 added just for this. :)
      My Computer


  8. Posts : 1,065
    Windows 7 Ultimate x64
       #8

    Brink said:
    Hello Stu,

    No problem. Steps 4, 5, and 6 added just for this. :)
    A true gent, thank you :)
      My Computer


  9. Posts : 72,524
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #9

    You're most welcome Stu. :)
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:25.
Find Us