Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: 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 Brink
01 Dec 2008
Published by

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


information   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   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
Name:  W7-Context_Menu.jpg
Views: 1759
Size:  42.7 KB




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.
download
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.
download
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.
download
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.
download
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.
download
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.
download
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






26 Aug 2009   #1
areyouwant

Windows 7
 
 

Wow...good job


My System SpecsSystem Spec
19 Oct 2009   #2
rsvr85

Windows 7 Ultimate x64
 
 

Is there anyway to send the files to the recycle bin first?
My System SpecsSystem Spec
19 Oct 2009   #3
Brink
Microsoft MVP

64-bit Windows 10 build 10074
 
 

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 System SpecsSystem Spec
.


25 Oct 2009   #4
rsvr85

Windows 7 Ultimate x64
 
 

Nevermind, still a very handy tweak , thanks a bunch
My System SpecsSystem Spec
18 May 2010   #5
24c

Win7 x64 Ult
 
 

Thanks, just what I have been looking for.
My System SpecsSystem Spec
24 May 2010   #6
rsvr85

Windows 7 Ultimate x64
 
 

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 System SpecsSystem Spec
24 May 2010   #7
Brink
Microsoft MVP

64-bit Windows 10 build 10074
 
 

Hello Stu,

No problem. Steps 4, 5, and 6 added just for this.
My System SpecsSystem Spec
25 May 2010   #8
rsvr85

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by Brink View Post
Hello Stu,

No problem. Steps 4, 5, and 6 added just for this.
A true gent, thank you
My System SpecsSystem Spec
25 May 2010   #9
Brink
Microsoft MVP

64-bit Windows 10 build 10074
 
 

You're most welcome Stu.
My System SpecsSystem Spec
Comment

 Context Menu - Add Empty Folder and Subfolders




Tutorial Tools





Similar help and support threads
Windows 7 Tutorial Category
Context Menu - Add Copy To Folder and Move To Folder
How to Add "Copy To Folder" and "Move To Folder" to Context Menu in Windows 7 and Windows 8 This tutorial will show you how to add or remove Copy To Folder and Move to Folder to the context menu for all users in Windows 7 and Windows 8. You must me logged in as an administrator to be able...
Tutorials
Empty Recycle Bin - Add to Desktop Context Menu
How to Add "Empty Recycle Bin" to Desktop Context Menu in Windows 7 and Windows 8 The Recycle Bin provides a safety net when deleting files or folders. When you delete any of these items from your hard disk, Windows places it in the Recycle Bin and the Recycle Bin icon changes from empty to...
Tutorials
Repair right-click context menu for New Folder
I am new to Windows 7 and somehow corrupted my right-click context menu. I lost the command for "New>Folder" altogether, used a registry key entry found online to get it back, but now when I click "New>Folder" I get a generic looking FILE icon. When I click Properties for this "folder" it is...
General Discussion
Getting back 'Empty Recycle Bin' Context Menu On Recycle Bin
Hey! I accidentally removed my Empty Recycle Bin option from Recycle Bin context menu while playing around with context menu editing tool (Windows 7 Manager). I cannot to system restore because I installed many things, etc. which would be hassle to sort out. Could you please provide me with a...
Customization
Context Menu -> Customize this folder...
How do I get rid of the right click entry "Customize this folder..."? If you need me to take a screenshot, let me know. I can't stand this option :P
Customization
Edit folder context menu?
http://wimg.co.uk/z5Z.jpg Can it be done? I haven't had much luck with ShellExView I don't want to uninstall WMP since I use it for it's Play-To feature.
Customization

Our Sites

Site Links

About Us

Find 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 12:55.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App