Dos commands - Delete directory

Discussion in 'Windows Desktop Systems' started by lieb39, Jan 22, 2004.

  1. lieb39

    lieb39 Apple lover, PC User

    Messages:
    526
    Location:
    Australia
    Hello everyone,

    Just thought of this, I've used dos on many many occasions and I know back in the day of windows 98 there was a extra program called deltree, which would delete directories, even if there was files in them. How would I go about to delete a directory without this little program, on lets say, MSDOS 6.2 or even Window's XP CMD?

    Thanks,

    lieb39
     
  2. NetRyder

    NetRyder Tech Junkie Folding Team

    Messages:
    13,256
    Location:
    New York City
    "rmdir /s C:\folder"
    That should remove the entire directory tree. :)
     
    lieb39 likes this.
  3. lieb39

    lieb39 Apple lover, PC User

    Messages:
    526
    Location:
    Australia
    Thanks. Don't really need it now but it's always helpful to know. :)

    -lieb39
     
  4. NetRyder

    NetRyder Tech Junkie Folding Team

    Messages:
    13,256
    Location:
    New York City
    I agree. You're welcome. :)