Add "Delete Files in Folder" and "Empty Folder" to Context Menu of Folders in Windows

This tutorial will show you how to add or remove "Delete Files in Folder" and "Empty Folder" to the context menu of folders for all users in Vista, Windows 7, and Windows 8.
While you must be signed in as an administrator to add or remove the context menus, all users will be able to use it.
While you must be signed in as an administrator to add or remove the context menus, all users will be able to use it.

The context menus will only be able to delete what the user has access permission for in a folder.
Delete Files in Folder = This will instantly permanently delete only the files in the folder you right click on folder, and will not delete any subfolders or files in subfolders.
Empty Folder = This will instantly permanently delete everything (files, subfolders, files in subfolders) in the folder you right click on by deleting and recreating the folder you right click on.
When you click on either Delete Files in Folder or Empty Folder, a command prompt will open asking Are you sure? [Y/N] to confirm the action to help avoid deleting the contents of a folder by mistake.
Delete Files in Folder = This will instantly permanently delete only the files in the folder you right click on folder, and will not delete any subfolders or files in subfolders.
Empty Folder = This will instantly permanently delete everything (files, subfolders, files in subfolders) in the folder you right click on by deleting and recreating the folder you right click on.
When you click on either Delete Files in Folder or Empty Folder, a command prompt will open asking Are you sure? [Y/N] to confirm the action to help avoid deleting the contents of a folder by mistake.
EXAMPLE: "Delete Files in Folder" and "Empty Folder" context menus and confirmations
Here's How:
1. Do step 2 or 3 below for what you would like to do.
2. Add "Delete Files in Folder" and "Empty Folder" to Context Menu
A) Click/tap on the Download button below to download the file below, and go to step 4 below.
Add_Delete_Empty_Folder_Context_Menus.reg
3. Remove "Delete Files in Folder" and "Empty Folder" from Context Menu
NOTE: This is the default setting.
A) Click/tap on the Download button below to download the file below, and go to step 4 below.
Remove_Delete_Empty_Folder_Context_Menus.reg
4. Save the .reg file to your desktop.
5. Double click/tap on the downloaded .reg file to merge it.
6. If prompted, click/tap on Run, Yes (UAC-Windows 7/8) or Continue (UAC-Vista), Yes, and OK to approve the merge.
7. You can now delete the downloaded .reg file if you like.
That's it,
Shawn
Attachments
Last edited by a moderator: