Windows 10

How to Delete Folder Using CMD in Windows 10

In this tutorial, we are going to see how to delete a folder using CMD in Windows 10. To delete a folder using CMD, follow the next steps.

1. Open the command prompt (press the Windows key and R ( Windows + R) to open the Run window). Type cmd and press Enter from the keyboard.

2. In CMD, type the following command and press Enter.
 

 

Syntax:
rmdir /s <full path to the file>

When your path contains spaces, it must be placed between quotation marks.
 

Example:
rmdir /s "C:\Users\stackhowto\Desktop\MyFolder"


 

Leave a Reply

Your email address will not be published. Required fields are marked *