The WinVistaClub forum walks through a simple registry hack to empty a folder right from the Windows context menu—a time saving tweak for cleaning up your clutter. To apply the registry hack, you can create a new file in Notepad, paste in the contents of this registry hack, save the file with a
.reg extension, and then double-click the saved file to enter the information into the registry. Once you've completed these steps, the new item will be available on the context menu—no need to reboot.
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 *.*"
If you'd rather use the point-and-click method, you can follow the instructions at the linked article—or check out our top 10 right-click tools.