DOS Command Line Remove Non Empty Directory Without Fuss

​rd “directoryname” /s /q

Bonus: for Linux:

rm -Rf “directoryname”

That’s all! Was that so hard? Only thing is, be careful!



Recent Posts
  • Whatrdafax

    Does not work when files in directory have long filenames -the very reason I am trying to remove the files in DOS.