|
|
FAQ
Search
Memberlist
Usergroups
Register
Profile
Private messages
Log in
|
|
| Author |
Message |
Kat Guest
|
Posted: Thu Jun 24, 2004 9:30 pm Post subject: OT- XP delete directories |
|
|
I'm trying to delete a directory through the command line on a 2003/XP
machine. Del, Delete, and Erase all work on single files- but I can't delete
a directory- without having the Y/N prompt. And I want to script it. The /y
switch doesn't work. And google doesn't know- anyone have a clue?
K |
|
| Back to top |
|
 |
|
|
Neil Guest
|
Posted: Thu Jun 24, 2004 9:32 pm Post subject: Re: OT- XP delete directories |
|
|
"Kat" <mistyNOSPAM@NOSPAMflynt.org> wrote in
news:#isKJigWEHA.1764@TK2MSFTNGP10.phx.gbl:
| Quote: | I'm trying to delete a directory through the command line on a 2003/XP
machine. Del, Delete, and Erase all work on single files- but I can't
delete a directory- without having the Y/N prompt. And I want to
script it. The /y switch doesn't work. And google doesn't know- anyone
have a clue?
K
|
have you tried RD? offline...
--
Neil MCNGP #30
"you'd do what, to who, for how many biscuits?" |
|
| Back to top |
|
 |
Neil Guest
|
Posted: Thu Jun 24, 2004 9:40 pm Post subject: Re: OT- XP delete directories |
|
|
"Kat" <mistyNOSPAM@NOSPAMflynt.org> wrote in
news:#isKJigWEHA.1764@TK2MSFTNGP10.phx.gbl:
| Quote: | I'm trying to delete a directory through the command line on a 2003/XP
machine. Del, Delete, and Erase all work on single files- but I can't
delete a directory- without having the Y/N prompt. And I want to
script it. The /y switch doesn't work. And google doesn't know- anyone
have a clue?
K
|
del *.* /q /f should do you...
--
Neil MCNGP #30
"you'd do what, to who, for how many biscuits?" |
|
| Back to top |
|
 |
Daniel Wilson Guest
|
Posted: Thu Jun 24, 2004 9:46 pm Post subject: Re: OT- XP delete directories |
|
|
If the directory is empty, use RD <dirname>. If it's not empty, you have to
empty it first, I believe. DelTree isn't working.
Just remember those good old DOS 6.0 days!
dwilson
"Kat" <mistyNOSPAM@NOSPAMflynt.org> wrote in message
news:#isKJigWEHA.1764@TK2MSFTNGP10.phx.gbl...
| Quote: | I'm trying to delete a directory through the command line on a 2003/XP
machine. Del, Delete, and Erase all work on single files- but I can't
delete
a directory- without having the Y/N prompt. And I want to script it. The
/y
switch doesn't work. And google doesn't know- anyone have a clue?
K
|
|
|
| Back to top |
|
 |
Kat Guest
|
Posted: Thu Jun 24, 2004 9:54 pm Post subject: Re: OT- XP delete directories |
|
|
Deltree, del, and erase don't work. And the Dir isn't empty- has several
levels of files/dir's.
I have found a work around though, seems to work ok.
Thank you Neil:) It was a dumb question, but with 480 open tech calls over
here, I really don't have time to play around with stuff :(
Looking forward to princess :D
"Daniel Wilson" <d.wilson@embtrak.com> wrote in message
news:#kjxDrgWEHA.716@TK2MSFTNGP11.phx.gbl...
| Quote: | If the directory is empty, use RD <dirname>. If it's not empty, you have
to
empty it first, I believe. DelTree isn't working.
Just remember those good old DOS 6.0 days!
dwilson
"Kat" <mistyNOSPAM@NOSPAMflynt.org> wrote in message
news:#isKJigWEHA.1764@TK2MSFTNGP10.phx.gbl...
I'm trying to delete a directory through the command line on a 2003/XP
machine. Del, Delete, and Erase all work on single files- but I can't
delete
a directory- without having the Y/N prompt. And I want to script it. The
/y
switch doesn't work. And google doesn't know- anyone have a clue?
K
|
|
|
| Back to top |
|
 |
Neil Guest
|
Posted: Thu Jun 24, 2004 10:15 pm Post subject: Re: OT- XP delete directories |
|
|
"Kat" <mistyNOSPAM@NOSPAMflynt.org> wrote in news:OXNT2vgWEHA.1128
@TK2MSFTNGP10.phx.gbl:
| Quote: | And the Dir isn't empty- has several
levels of files/dir's.
|
in a batch file:
del *.* /s /f /q
rd pathofdir /s /q
--
Neil MCNGP #30
"you'd do what, to who, for how many biscuits?" |
|
| Back to top |
|
 |
Vigo Breadcrumbs Guest
|
Posted: Thu Jun 24, 2004 10:19 pm Post subject: Re: OT- XP delete directories |
|
|
"Kat" <mistyNOSPAM@NOSPAMflynt.org> wrote in
news:#isKJigWEHA.1764@TK2MSFTNGP10.phx.gbl:
| Quote: | I'm trying to delete a directory through the command line on a 2003/XP
machine. Del, Delete, and Erase all work on single files- but I can't
delete a directory- without having the Y/N prompt. And I want to
script it. The /y switch doesn't work. And google doesn't know- anyone
have a clue?
|
Um, how about "rd [dirname] /s" ?
The "/s" switch will delete non-empty directories.
--
http://www.vigo-alessi.com/images/products/1362.jpg |
|
| Back to top |
|
 |
|
|
Vigo Breadcrumbs Guest
|
Posted: Thu Jun 24, 2004 10:22 pm Post subject: Re: OT- XP delete directories |
|
|
"Kat" <mistyNOSPAM@NOSPAMflynt.org> wrote in
news:#isKJigWEHA.1764@TK2MSFTNGP10.phx.gbl:
| Quote: | I'm trying to delete a directory through the command line on a 2003/XP
machine.
|
Oops:
rd [dirname] /s /q to suppress the confirmation prompt, also.
--
http://www.vigo-alessi.com/images/products/1362.jpg |
|
| Back to top |
|
 |
Spyke Guest
|
Posted: Thu Jun 24, 2004 10:41 pm Post subject: Re: OT- XP delete directories |
|
|
Neil <neilmcse@nospamforyou.com> wrote in
news:Xns951286F22948Aneilmcsehotmailcom@207.46.248.16:
| Quote: | "Kat" <mistyNOSPAM@NOSPAMflynt.org> wrote in news:OXNT2vgWEHA.1128
@TK2MSFTNGP10.phx.gbl:
And the Dir isn't empty- has several
levels of files/dir's.
in a batch file:
del *.* /s /f /q
rd pathofdir /s /q
|
Or just
rd pathofdir /s/q
--
Cheers,
Spyke |
|
| Back to top |
|
 |
Jtyc Guest
|
Posted: Thu Jun 24, 2004 10:54 pm Post subject: Re: OT- XP delete directories |
|
|
| Quote: | Just remember those good old DOS 6.0 days!
|
Y'all should just purchase a copy of XTree Gold! |
|
| Back to top |
|
 |
Neil Guest
|
Posted: Thu Jun 24, 2004 11:27 pm Post subject: Re: OT- XP delete directories |
|
|
Spyke <spyke@mailinator.com> wrote in
news:Xns95128B4DDA06Cspykemailinator.com@207.46.248.16:
| Quote: | Neil <neilmcse@nospamforyou.com> wrote in
news:Xns951286F22948Aneilmcsehotmailcom@207.46.248.16:
"Kat" <mistyNOSPAM@NOSPAMflynt.org> wrote in news:OXNT2vgWEHA.1128
@TK2MSFTNGP10.phx.gbl:
And the Dir isn't empty- has several
levels of files/dir's.
in a batch file:
del *.* /s /f /q
rd pathofdir /s /q
Or just
rd pathofdir /s/q
|
yup....
--
Neil MCNGP #30
"you'd do what, to who, for how many biscuits?" |
|
| Back to top |
|
 |
Neil Guest
|
Posted: Thu Jun 24, 2004 11:35 pm Post subject: Re: OT- XP delete directories |
|
|
"Jtyc" <jtyc_mcngp@spamblockerbitch!@yahoo.com> wrote in
news:eZqGMRhWEHA.2840@TK2MSFTNGP11.phx.gbl:
| Quote: | Y'all should just purchase a copy of XTree Gold!
|
AAAAAAAAAAAAAAAKKKKKKKKKKKKKKK!!!!
memories....
*fuzzy screen image*
<reminisant.wav>
"ok I have to Comp Surf this drive. you need to low level that one"
"can I use DiskManager or am I stuck with debug"
"dunno what controller is that"
"it's an Omti"
"SH!T, yer stuck with debug"
"DOS 3.2 install after?"
"yup and its got the AST Rampage in it so through on the QuarterDeck
thing"
"what QEMM?, what's that for anywho?"
"I dunno, something for big 1-2-3 spreadsheets or something."
<reminisant.wav>
*screen clears*
*shudder*
yeewwwwwwww, that was painful....
--
Neil MCNGP #30
"you'd do what, to who, for how many biscuits?" |
|
| Back to top |
|
 |
Kat Guest
|
Posted: Thu Jun 24, 2004 11:40 pm Post subject: Re: OT- XP delete directories |
|
|
Umm.. What????
"Neil" <neilmcse@nospamforyou.com> wrote in message
news:Xns9512946501A96neilmcsehotmailcom@207.46.248.16...
| Quote: | "Jtyc" <jtyc_mcngp@spamblockerbitch!@yahoo.com> wrote in
news:eZqGMRhWEHA.2840@TK2MSFTNGP11.phx.gbl:
Y'all should just purchase a copy of XTree Gold!
AAAAAAAAAAAAAAAKKKKKKKKKKKKKKK!!!!
memories....
*fuzzy screen image*
reminisant.wav
"ok I have to Comp Surf this drive. you need to low level that one"
"can I use DiskManager or am I stuck with debug"
"dunno what controller is that"
"it's an Omti"
"SH!T, yer stuck with debug"
"DOS 3.2 install after?"
"yup and its got the AST Rampage in it so through on the QuarterDeck
thing"
"what QEMM?, what's that for anywho?"
"I dunno, something for big 1-2-3 spreadsheets or something."
reminisant.wav
*screen clears*
*shudder*
yeewwwwwwww, that was painful....
--
Neil MCNGP #30
"you'd do what, to who, for how many biscuits?" |
|
|
| Back to top |
|
 |
Jtyc Guest
|
Posted: Thu Jun 24, 2004 11:44 pm Post subject: Re: OT- XP delete directories |
|
|
Stop making us feel old. |
|
| Back to top |
|
 |
|
|
Neil Guest
|
Posted: Thu Jun 24, 2004 11:46 pm Post subject: Re: OT- XP delete directories |
|
|
"Kat" <mistyNOSPAM@NOSPAMflynt.org> wrote in news:eLVV7qhWEHA.1468
@TK2MSFTNGP10.phx.gbl:
frickin kids....
--
Neil MCNGP #30
"you'd do what, to who, for how many biscuits?" |
|
| Back to top |
|
 |
|
|