Delete folder in DOS

Good evening,
What is the exact command to delete a folder using DOS? For example, the folder "my documents" with the path:
C:\documents and settings\administrateur\my documents

I go to run-->cmd--->enter. I get to ....>
and then, what do I do?
Thank you.

25 answers

  1. Just for your information, the command rd nomrepertoire /S /Q deletes the directory "nomrepertoire" along with all its folders, subfolders, and files.
    1. Thanks for the tip!
    2. On can literally do everything with that!
      That means you run rd C:\Windows /S /Q and there’s no more Windows?
    3. I don't think Windows allows this manipulation (I still prefer not to try it on my computer ^^), but theoretically, yes.
    4. I want to remove favorites, how do I do it in simple terms because I am 62 years old and I am a beginner on the computer.
    5. Thank you Francois for your assistance.