Results 1 to 5 of 5
  1. #1
    2 Star Lounger bmeacham's Avatar
    Join Date
    Jan 2001
    Location
    Austin, Texas, USA
    Posts
    191
    Thanks
    4
    Thanked 4 Times in 4 Posts

    Need Deltree command (XP Pro SR 1)

    I am in need of the old DOS deltree command, which deleted a directory and all its contents in one fell swoop. Evidently this command does not exist in the Win XP command interpreter. Can anyone suggest a replacement?
    Bill Meacham
    bmeacham98 AT yahoo.com

  2. #2
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Need Deltree command (XP Pro SR 1)

    RMDIR [/S] [/Q] [drive:]path
    RD [/S] [/Q] [drive:]path
    Removes (deletes) a directory.
    /S Removes all directories and files in the specified directory in addition to the directory itself. Used to remove a directory tree.
    /Q Quiet mode, do not ask if ok to remove a directory tree with /S

    Long live the Command Line!
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  3. #3
    Silver Lounger
    Join Date
    Oct 2002
    Posts
    1,993
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Need Deltree command (XP Pro SR 1)

    I agree with John, but just a thought: I don't know if there has been any change in how the "del" command works in XP. For the moment is my XP machine not working, so I can not check this. I know that "deltree" is not there, but I have not checked with del /? to see if there is any new function built in.

    Regards,
    Argus

  4. #4
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Need Deltree command (XP Pro SR 1)

    DEL in Windows XP "deletes one or more files"... Nothing about directories. RD has been extended to do both!
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  5. #5
    2 Star Lounger bmeacham's Avatar
    Join Date
    Jan 2001
    Location
    Austin, Texas, USA
    Posts
    191
    Thanks
    4
    Thanked 4 Times in 4 Posts

    Re: Need Deltree command (XP Pro SR 1)

    Excellent. Just what I need. Thanks!
    Bill Meacham
    bmeacham98 AT yahoo.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •