X

How to Delete a Folder Using Command Prompt of Windows

To delete a folder using the command prompt of Windows, follow this procedure.

  1. Open a command prompt (Press the Windows icon key and R to open the run window). Type cmd and hit enter from the keyboard.
  2. On a command prompt, enter the following command and hit enter from the keyboard.

Syntax

rmdir /s <complete path of folder suppose>

When your path contains spaces, then the path must be enclosed in quotation marks.

Example

rmdir /s "C:\Users\karim\Desktop\My Dumps"

That's it. There is also an article on how to find files on the command prompt.

Karim Buzdar: About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various websites.
X

Headline

You can control the ways in which we improve and personalize your experience. Please choose whether you wish to allow the following:

Privacy Settings