Delete folder in DOS

marco13 Posted messages 817 Status Membre -  
 shadows -
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 réponses

  • 1
  • 2
Francois76l
 
Just for your information, the command rd nomrepertoire /S /Q deletes the directory "nomrepertoire" along with all its folders, subfolders, and files.
107
Jamaisss
 
On can literally do everything with that!
That means you run rd C:\Windows /S /Q and there’s no more Windows?
0
ms-dos
 
I don't think Windows allows this manipulation (I still prefer not to try it on my computer ^^), but theoretically, yes.
0
  • 1
  • 2