Delete Folder Content [Registry Hack – Vista & Windows 7]
“Delete Folder Content”, in Romanian, deletes the contents of a folder. It's a registry hack which will add this option in Windows Context Menu (the menu that appears when you right-click on a folder). See the image below:

This option will appear in the Windows Context Menu if you make a small registry change.
open Notepad.exe and copy/paste the code below:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\Delete Folder Contents]
[HKEY_CLASSES_ROOT\Directory\shell\Delete Folder Contents\command]
@="cmd /c \"cd /d %1 && del /s /q *.*"
Save the file on the Desktop with the extension .reg (delete.reg, for example), then double-click it. Click "Yes" & “Ok”.
When you right-click on a folder whose content you want to delete, you will notice that the "Delete Folder Content" option has appeared.
I don't know if this hack is valid on Windows XP, but on Windows Vista and Windows 7 it definitely works (tested).
Delete Folder Content [Registry Hack – Vista & Windows 7]
What’s New
About Stealth
Passionate about technology, I write with pleasure on stealthsetts.com starting with 2006. I have a rich experience in operating systems: Macos, Windows and Linux, but also in programming languages and blogging platforms (WordPress) and for online stores (WooCommerce, Magento, Presashop).
View all posts by StealthYou may also be interested in...
One thought on “Delete Folder Content [Registry Hack – Vista & Windows 7]”