Windows BBS The Place for Microsoft Windows Support! Windows, Support, Help Site

Go Back   Windows BBS > Operating Systems > Windows XP

Windows XP Post your Windows XP related questions here.

Register your FREE account to unlock additional features at WindowsBBS.com
Register
Welcome to WindowsBBS.com
Microsoft Windows Support

Mission Statement

WindowsBBS is an online community dedicated to easily accessible technical support for those using Microsoft operating systems and other Windows software.

Our goal is to become the leading resource for computer users that require assistance with their day-to-day computer usage, including full support for networking PC's, virus & malware removal, system upgrades and general support questions.


Discussion Forums
Operating Systems
Windows 7 Windows 7
Windows Vista Windows Vista
Windows XP Windows XP
Windows Server System Windows Server System
Windows 2000 Windows 2000
Windows 95/98/Me/NT Windows 95/98/Me/NT
Internet & Networking
Networking
Internet Explorer
Microsoft Mail
Firefox, Thunderbird
      & SeaMonkey

General Internet
Security
General Security
Malware and Virus
     Removal

Other
Other Software
Hardware
Test Posts
Community
Introductions
General Discussions
Comments
      & Suggestions

News @ WindowsBBS

Forum Sponsor
 Image

Closed Thread
 
LinkBack Thread Tools
Old 14th July 2003   #1
Inactive
 
Profile:
Join Date: Apr 2003
Posts: 93
Computer Experience:
Intermediate
GaryMaton Reputation Level


Deleting in DOS...

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

GaryMaton is offline  
Didn't find the information you thought to find?
Check out these Similar Threads
Old 14th July 2003   #2
Staff
 
Steve R Jones's Avatar
 
Profile:
Join Date: Dec 2001
Location: Dallas, TX
Posts: 8,825
Computer Experience:
Experienced
Steve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation LevelSteve R Jones Reputation Level


Try doing this line first to remove the attributes:

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


Then do your remove lines.

Steve R Jones is offline  
Old 14th July 2003   #3
Inactive
 
Profile:
Join Date: Jun 2003
Posts: 33
Computer Experience:
beginner
jmlooi Reputation Level


You Can try this

Deltree C:\PROGRA~1\MCAFEE

By
CLIFF

jmlooi is offline  
Old 14th July 2003   #4
Inactive
 
Profile:
Join Date: Jan 2002
Location: Marlboro, NY.
Posts: 6,211
Computer Experience:
Gaining more every d
BillyBob Reputation LevelBillyBob Reputation LevelBillyBob Reputation LevelBillyBob Reputation LevelBillyBob Reputation LevelBillyBob Reputation Level


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

BillyBob is offline  
Old 14th July 2003   #5
Inactive
 
Profile:
Join Date: Jan 2002
Location: Marlboro, NY.
Posts: 6,211
Computer Experience:
Gaining more every d
BillyBob Reputation LevelBillyBob Reputation LevelBillyBob Reputation LevelBillyBob Reputation LevelBillyBob Reputation LevelBillyBob Reputation Level


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 by BillyBob; 14th July 2003 at 03:22.
BillyBob is offline  
Old 14th July 2003   #6
Inactive
 
Newt's Avatar
 
Profile:
Join Date: Jan 2002
Location: Concord, NC, USA
Posts: 11,217
Computer Experience:
*****
Newt Reputation Level


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 is offline  
Old 14th July 2003   #7
Inactive
 
Profile:
Join Date: Apr 2003
Posts: 93
Computer Experience:
Intermediate
GaryMaton Reputation Level


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

GaryMaton is offline  
Old 14th July 2003   #8
Inactive
 
Profile:
Join Date: Jan 2002
Location: Marlboro, NY.
Posts: 6,211
Computer Experience:
Gaining more every d
BillyBob Reputation LevelBillyBob Reputation LevelBillyBob Reputation LevelBillyBob Reputation LevelBillyBob Reputation LevelBillyBob Reputation Level


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 by BillyBob; 14th July 2003 at 03:55.
BillyBob is offline  
Old 14th July 2003   #9
Inactive
 
Profile:
Join Date: Jul 2003
Posts: 5
Computer Experience:
Experienced
JerN Reputation Level


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 is offline  



Closed Thread

Thread Tools



All times are GMT +1. The time now is 00:17.






Advertisements do not imply our endorsement of the product or service advertised.
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 2002 - 2009 WindowsBBS.com. All rights reserved.
Terms of Use, Legal Information & Privacy Policy
[]