Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

14
  • 5
    Explanation: del stands for Delete and S stands for Recursive. Commented Aug 9, 2010 at 16:50
  • 3
    @Tony_Henrich, Learn more about msdos commands here. computerhope.com/msdos.htm
    – Moab
    Commented Aug 9, 2010 at 18:21
  • 7
    and using /Q keeps empty sub folders which is undesirable. Commented Aug 9, 2010 at 20:27
  • 27
    This is the wrong answer and I don't know why it received many up votes. It seems people didn't understand the question fully and don't read comments! I will go through the answers and select the correct one. Commented Dec 4, 2016 at 5:44
  • 8
    But it leaves the Subfolders how do you also tell it to delete the sub folder itself ?
    – eran otzer
    Commented Feb 7, 2018 at 10:19