1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Deleting in DOS...

Discussion in 'Windows XP' started by GaryMaton, 2003/07/13.

Thread Status:
Not open for further replies.
  1. 2003/07/13
    GaryMaton

    GaryMaton Inactive Thread Starter

    Joined:
    2003/04/25
    Messages:
    93
    Likes Received:
    0
    I'm trying to delete a whole directory (it contains many files with errors/write protection) in DOS using the RD (RMDir) command...

    I'd like to think I have learnt DOS enough to get by but this command is really annoying me.

    By the way the PC is XP Home on a FAT32 setup therefore I'm booting using a Win98 boot disk.

    Here is what I've tryed...

    RD /s /q C:\PROGRA~1\MCAFEE -r -s -h

    RD C:\PROGRA~1\MCAFEE /s /q -r -s -h

    And more combinations of the above (and using RMDir instead of RD)

    Any help would be nice

    Thank you,

    Gary
     
  2. 2003/07/13
    Steve R Jones

    Steve R Jones SuperGeek Staff

    Joined:
    2001/12/30
    Messages:
    12,315
    Likes Received:
    252
    Try doing this line first to remove the attributes:

    attrib -r -s- h C:\PROGRA~1\MCAFEE


    Then do your remove lines.
     

  3. to hide this advert.

  4. 2003/07/13
    jmlooi

    jmlooi Inactive

    Joined:
    2003/06/27
    Messages:
    33
    Likes Received:
    0
    You Can try this

    Deltree C:\PROGRA~1\MCAFEE

    By
    CLIFF
     
  5. 2003/07/13
    BillyBob Lifetime Subscription

    BillyBob Inactive

    Joined:
    2002/01/07
    Messages:
    6,048
    Likes Received:
    0
    You will probabley have to put the Path to the DOS command at the front of the command line.

    I have no idea where they are In XP. If same even exist.

    example ONLY.

    C:\Windows\XXXX\[rest of your command ]

    The command you are trying to use does not exist on the 98 SUD.

    I myself have DELTREE on my 98 SUD.

    BillyBob
     
  6. 2003/07/13
    BillyBob Lifetime Subscription

    BillyBob Inactive

    Joined:
    2002/01/07
    Messages:
    6,048
    Likes Received:
    0
    You Can try this

    Deltree C:\PROGRA~1\MCAFEE


    Does Deltree even exist in XP ?

    98 SE was the last Windows version to have it that I know of.

    Windows ME and XP DO NOT have the same DOS support that the lower version do. That is why I have such things as Deltree on my 98 SUD.

    BillyBob
     
    Last edited: 2003/07/13
  7. 2003/07/13
    Newt

    Newt Inactive

    Joined:
    2002/01/07
    Messages:
    10,974
    Likes Received:
    2
    Deltree isn't needed for XP. The version of RD it has will remove directory and files.

    So running attrib to open the directory up and then pointing specifically to the RD on the XP drive should do the deed.

    But a copy of the 98 deltree command on the floppy should work equally well.
     
    Newt,
    #6
  8. 2003/07/13
    GaryMaton

    GaryMaton Inactive Thread Starter

    Joined:
    2003/04/25
    Messages:
    93
    Likes Received:
    0
    Thanx for the replys, its sorted now (I got fed up and installed 98SE on a partition and just deleted from that but it does seem alot of effort!

    What is "SUD "???

    I really used to like the bashfulness of Win95 letting you delete anything! If only SafeMode on XP was just as bashful!

    Thank you again but I would still like to know what SUD is!

    Thanx, Gary


    P.S. XP doesn't allow DelTree
     
  9. 2003/07/13
    BillyBob Lifetime Subscription

    BillyBob Inactive

    Joined:
    2002/01/07
    Messages:
    6,048
    Likes Received:
    0
    What is "SUD "???

    Start Up disk.

    Alias Windows Boot disk

    But that is wrong. It DOES NOT boot Windows. It only boots the machine.

    Why it is referred to as a Windows boot disk is WAY beyond me.

    BillyBob
     
    Last edited: 2003/07/13
  10. 2003/07/14
    JerN

    JerN Inactive

    Joined:
    2003/07/14
    Messages:
    5
    Likes Received:
    0
    You can use RD (RmDir) with the /S switch to remove a directory and all subdirectories. I believe this command provides the same functionality as DELTREE did in previous versions of DOS...

    For more info, type "RD /?" at a command prompt.

    -Jeremy
     
    JerN,
    #9
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.