To delete a folder using command prompt of windows, follow this procedure.
- Open a command prompt (Press the windows icon key and R to open the run window). Type cmd and hit enter from the keyboard.
- On a command prompt, enter the following command and hit enter from the keyboard.
rmdir /s <complete path of folder suppose>
When your path contains spaces, then the path must be enclosed in quotation marks.
rmdir /s "C:\Users\karim\Desktop\My Dumps"
How To Delete a Folder Using Command Prompt of Windows