[Tutorial] How To Quickly Remove Entire Contents Of A Folder – Windows

To delete the contents of a folder, you can select the files it contains and put them in the trash. However with few small changes inside Windows registry you can make this procedure much easier and faster by adding a delete command inside context menu that appears after right-clicking on a folder. In this tutorial I will show you how to enable this command.


To get started follow steps below:

Step 1: Click Start menu. In the Search field, type the command regedit and confirm with Enter.

Step 2: In the window of the Registry Editor that opens, follow this path HKEY_CLASSES_ROOT/Directory/shell.

Step 3: In top navigation click the Edit, click New and then click Key.

Step 4: Name the key Empty folder.

Step 5: Again in top navigation click on the Edit, click New and then click Key.

Step 6: Name the key Command.

Step 7: In the right pane of the window, double-click the (Default).

Step 8: Enter cmd /c “cd /d %1&& del /s /f/q *.*” and click OK to save changes.

Step 9: Close the Registry Editor and restart your computer. When Windows loads again, right-click on a folder and from context menu you should see an option Empty folder. Click on that option to delete the files in the folder and its sub folders.

[ttjad keyword=”all-in-one-desktops”]

Get real time updates directly on you device, subscribe now.

You might also like
Why Not Join 250,000+ Readers, Like You!
AND GET OUR LATEST CONTENT IN YOUR INBOX

SUBSCRIBE 
Your information will never be shared
close-link