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 the Windows 7 Context Menu
Published by Brink
01 Dec 2008
Published by

How to Add "Empty Folder and Subfolders" to the Windows 7 Context Menu

information   Information
This will show you how to add Empty Folder and Subfolders to the Windows 7 context menu to be able to automatically permanently delete all file contents of a folder and it's subfolders without deleting the subfolders when you right click on a folder and click on Empty Folder and Subfolders.
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: 1410
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. Click on Save, and save the .reg file to the desktop.

8. Right click one the downloaded .reg file and click on Merge.

9. Click on Run, Yes, Yes, and OK when prompted.

10. When done, you can delete the downloaded .reg files on the desktop 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 8.1 Enterprise
 
 

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 8.1 Enterprise
 
 

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 8.1 Enterprise
 
 

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

 Context Menu - Add Empty Folder and Subfolders




Tutorial Tools




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 06:43 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33