Context Menu - Add Empty Folder and Subfolders

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

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






 

Attachments

Last edited:
Wow...good job :D
 

My Computer

OS
Windows 7
CPU
Core 2 Duo
Motherboard
ASUS P5GC-MX
Memory
King Max
Graphics Card(s)
Intel(R) 82945G Express Chipset Family
Sound Card
C-Media PCI Audio Device
Monitor(s) Displays
Sam Sung
Is there anyway to send the files to the recycle bin first?
 

My Computer

Computer Manufacturer/Model Number
HP Touchsmart IQ771.uk
OS
Windows 7 Ultimate x64
CPU
AMD Turion(tm) 64 X2 Mobile Technology TL-56
Motherboard
ASUS Pheonix
Memory
3GB Nanya PC2-6400 DDR2-SDRAM SO-DIM (400MHz)
Graphics Card(s)
NVIDIA GeForce Go 7600 256MB GDDR3 SDRAM
Sound Card
High Definition Intergrated NVIDIA MCP51
Monitor(s) Displays
46" Sony Bravia HDTV
Screen Resolution
1600x1200
Hard Drives
1.5TB Samsug
320GB Seagate ST3320820AS - SATA 3Gb/s 8MB
500GB Maxtor Basics STM305003EHD301-RK
Internet Speed
↓6.32 Mb/s ↑0.35 Mb/s ↔26ms
Other Info
BIOS - American Megatrends Inc. 5.07
Ethernet Port - NVIDIA nForce 10/100/1000 Mbps
DVD Drive - TSSTcorp DVDR/RW TS-T632L
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

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Nevermind, still a very handy tweak , thanks a bunch :)
 

My Computer

Computer Manufacturer/Model Number
HP Touchsmart IQ771.uk
OS
Windows 7 Ultimate x64
CPU
AMD Turion(tm) 64 X2 Mobile Technology TL-56
Motherboard
ASUS Pheonix
Memory
3GB Nanya PC2-6400 DDR2-SDRAM SO-DIM (400MHz)
Graphics Card(s)
NVIDIA GeForce Go 7600 256MB GDDR3 SDRAM
Sound Card
High Definition Intergrated NVIDIA MCP51
Monitor(s) Displays
46" Sony Bravia HDTV
Screen Resolution
1600x1200
Hard Drives
1.5TB Samsug
320GB Seagate ST3320820AS - SATA 3Gb/s 8MB
500GB Maxtor Basics STM305003EHD301-RK
Internet Speed
↓6.32 Mb/s ↑0.35 Mb/s ↔26ms
Other Info
BIOS - American Megatrends Inc. 5.07
Ethernet Port - NVIDIA nForce 10/100/1000 Mbps
DVD Drive - TSSTcorp DVDR/RW TS-T632L
Thanks, just what I have been looking for.
 

My Computer

Computer Manufacturer/Model Number
24c Built
OS
Win7 x64 Ult
CPU
Intel i7-950
Motherboard
ASUS PT6
Memory
12 GB DDR3
Graphics Card(s)
NVIDIA 9800GT+
Sound Card
none
Monitor(s) Displays
2 Samsung SyncMaster 2343bwx
Screen Resolution
2048X1152
Hard Drives
1st-4 OCZ Vertex Turbos 32GB RAID 0
2nd-2 WD 640GB RAID 1
PSU
Thermaltake Toughpower XT W0229RU 750W
Case
Antec 900
Cooling
case fans
Keyboard
Logitech cordless
Mouse
Logitech cordless
Internet Speed
up to 15 MB/s
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

Computer Manufacturer/Model Number
HP Touchsmart IQ771.uk
OS
Windows 7 Ultimate x64
CPU
AMD Turion(tm) 64 X2 Mobile Technology TL-56
Motherboard
ASUS Pheonix
Memory
3GB Nanya PC2-6400 DDR2-SDRAM SO-DIM (400MHz)
Graphics Card(s)
NVIDIA GeForce Go 7600 256MB GDDR3 SDRAM
Sound Card
High Definition Intergrated NVIDIA MCP51
Monitor(s) Displays
46" Sony Bravia HDTV
Screen Resolution
1600x1200
Hard Drives
1.5TB Samsug
320GB Seagate ST3320820AS - SATA 3Gb/s 8MB
500GB Maxtor Basics STM305003EHD301-RK
Internet Speed
↓6.32 Mb/s ↑0.35 Mb/s ↔26ms
Other Info
BIOS - American Megatrends Inc. 5.07
Ethernet Port - NVIDIA nForce 10/100/1000 Mbps
DVD Drive - TSSTcorp DVDR/RW TS-T632L
Hello Stu,

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

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone

My Computer

Computer Manufacturer/Model Number
HP Touchsmart IQ771.uk
OS
Windows 7 Ultimate x64
CPU
AMD Turion(tm) 64 X2 Mobile Technology TL-56
Motherboard
ASUS Pheonix
Memory
3GB Nanya PC2-6400 DDR2-SDRAM SO-DIM (400MHz)
Graphics Card(s)
NVIDIA GeForce Go 7600 256MB GDDR3 SDRAM
Sound Card
High Definition Intergrated NVIDIA MCP51
Monitor(s) Displays
46" Sony Bravia HDTV
Screen Resolution
1600x1200
Hard Drives
1.5TB Samsug
320GB Seagate ST3320820AS - SATA 3Gb/s 8MB
500GB Maxtor Basics STM305003EHD301-RK
Internet Speed
↓6.32 Mb/s ↑0.35 Mb/s ↔26ms
Other Info
BIOS - American Megatrends Inc. 5.07
Ethernet Port - NVIDIA nForce 10/100/1000 Mbps
DVD Drive - TSSTcorp DVDR/RW TS-T632L
You're most welcome Stu. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
wow..more tweaks. Thanx Shawn :thumbsup:
 

My Computer

OS
window's 7
CPU
core 2 quad
Motherboard
gigabyte
Memory
2gb corsair
Graphics Card(s)
ati hd4850
Monitor(s) Displays
lg
Screen Resolution
1600 X 900
Case
power logic
Other Info
none of the spec above is accurate
You're welcome Rafe. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Back
Top