|
Home > Archive > alt.certification.a-plus > February 2003 > Dos command question for group
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Dos command question for group
|
|
| jack bell 2003-02-20, 7:23 pm |
| Hi all. I have a DOS command question for the group. I run Windows
2000 professional on my machine. I was practicing some dos commands
and created a directory in C:\ called test1. When I run the del or
deltree command to delete test1 I am ask "Are you sure" <Y/N>. I
choose y and press enter. THEN, I run the dir command and Istill see
the directory test1. Why is this? Does the win2000 OS not support the
del or deltree commands? I type it just like this; del test1 or
deltree test1. Am I leaving out something? I think most other dos
commands run fine. Thanks for all your input.
| |
| Rick Blythin 2003-02-20, 10:23 pm |
| "jack bell" <ultraflt@earthlink.net> wrote in message
news:ivva5vg63i82pu848bn4kas0o
n943hpnr6@4ax.com...
> Hi all. I have a DOS command question for the group. I run Windows
> 2000 professional on my machine. I was practicing some dos commands
> and created a directory in C:\ called test1. When I run the del or
> deltree command to delete test1 I am ask "Are you sure" <Y/N>. I
> choose y and press enter. THEN, I run the dir command and Istill see
> the directory test1. Why is this? Does the win2000 OS not support the
> del or deltree commands? I type it just like this; del test1 or
> deltree test1. Am I leaving out something? I think most other dos
> commands run fine. Thanks for all your input.
Hi Jack,
I know that Win 2000/XP doesn't support certain DOS commands as the command
line isn't true DOS. I read a file of the unsupported commands but I can't
remember where I came across it.
For deleting directories you can also use "rmdir test" or "rd test". If the
directory contains files and you want to delete them as well as the
directory you can use the" /s " switch after either of those commands.
That's how I've always deleted directories going back to when programs were
all dos based 'pre-windows' era on good old 286's !.
Just my 2 cents anyway.
Rick
A+, Network+
| |
|
| Actually it's surprising you get deltree to run at all
Did you copy the Win98 version?
http://support.microsoft.com/defaul...kb;en-us;225746
Deltree is an external command - an exe file
del is an internal command - and for deleteing FILES -- not folders
rd is for deleting folders - and likely does NOT work on the current =
folder
In news:ivva5vg63i82pu848bn4kas0o
n943hpnr6@4ax.com,
jack bell <ultraflt@earthlink.net> mused:
> Hi all. I have a DOS command question for the group. I run Windows
> 2000 professional on my machine. I was practicing some dos commands
> and created a directory in C:\ called test1. When I run the del or
> deltree command to delete test1 I am ask "Are you sure" <Y/N>. I
> choose y and press enter. THEN, I run the dir command and Istill see
> the directory test1. Why is this? Does the win2000 OS not support the
> del or deltree commands? I type it just like this; del test1 or
> deltree test1. Am I leaving out something? I think most other dos
> commands run fine. Thanks for all your input.
| |
| SBFan2000 2003-02-21, 2:23 am |
| Deltree is not used in Windows2000.
"JimW±" <JimW@jj.ii.mm.ww> wrote in message
news:zjk5a.293501$Yo4.11297575@news1.calgary.shaw.ca...
Actually it's surprising you get deltree to run at all
Did you copy the Win98 version?
http://support.microsoft.com/defaul...kb;en-us;225746
Deltree is an external command - an exe file
del is an internal command - and for deleteing FILES -- not folders
rd is for deleting folders - and likely does NOT work on the current folder
In news:ivva5vg63i82pu848bn4kas0o
n943hpnr6@4ax.com,
jack bell <ultraflt@earthlink.net> mused:
> Hi all. I have a DOS command question for the group. I run Windows
> 2000 professional on my machine. I was practicing some dos commands
> and created a directory in C:\ called test1. When I run the del or
> deltree command to delete test1 I am ask "Are you sure" <Y/N>. I
> choose y and press enter. THEN, I run the dir command and Istill see
> the directory test1. Why is this? Does the win2000 OS not support the
> del or deltree commands? I type it just like this; del test1 or
> deltree test1. Am I leaving out something? I think most other dos
> commands run fine. Thanks for all your input.
| |
|
| That's right - That's what the link says
In news:v5bng8ho4fme69@corp.supernews.com,
SBFan2000 <webmaster@glenngriffith.com> mused:
> Deltree is not used in Windows2000.
>=20
>=20
> "JimW=B1" <JimW@jj.ii.mm.ww> wrote in message
> news:zjk5a.293501$Yo4.11297575@news1.calgary.shaw.ca...
> Actually it's surprising you get deltree to run at all
> Did you copy the Win98 version?
> http://support.microsoft.com/defaul...kb;en-us;225746
>=20
> Deltree is an external command - an exe file
> del is an internal command - and for deleteing FILES -- not folders
> rd is for deleting folders - and likely does NOT work on the current
> folder=20
>=20
>=20
> In news:ivva5vg63i82pu848bn4kas0o
n943hpnr6@4ax.com,
> jack bell <ultraflt@earthlink.net> mused:
>> Hi all. I have a DOS command question for the group. I run Windows
>> 2000 professional on my machine. I was practicing some dos commands
>> and created a directory in C:\ called test1. When I run the del or
>> deltree command to delete test1 I am ask "Are you sure" <Y/N>. I
>> choose y and press enter. THEN, I run the dir command and Istill see
>> the directory test1. Why is this? Does the win2000 OS not support the
>> del or deltree commands? I type it just like this; del test1 or
>> deltree test1. Am I leaving out something? I think most other dos
>> commands run fine. Thanks for all your input.
| |
|
| Interesting. When I try DELTREE on Win 2K Pro, here is what I get:
"'DELTREE' is not recognized as an internal or external command,
operable program or batch file."
And, DEL won't delete a directory - you need RD or RMDIR, as per the
previous post.
Mark
>Hi all. I have a DOS command question for the group. I run Windows
>2000 professional on my machine. I was practicing some dos commands
>and created a directory in C:\ called test1. When I run the del or
>deltree command to delete test1 I am ask "Are you sure" <Y/N>. I
>choose y and press enter. THEN, I run the dir command and Istill see
>the directory test1. Why is this? Does the win2000 OS not support the
>del or deltree commands? I type it just like this; del test1 or
>deltree test1. Am I leaving out something? I think most other dos
>commands run fine. Thanks for all your input.
| |
|
| In article < rb0c5vkehmk5voa7me7jlfhk3iko57
1g1n@4ax.com>, Mark
<schultzzREMOVETHIS@nospam.hotmail.com> wrote:
> Interesting. When I try DELTREE on Win 2K Pro, here is what I get:
>
> "'DELTREE' is not recognized as an internal or external command,
> operable program or batch file."
>
> And, DEL won't delete a directory - you need RD or RMDIR, as per the
> previous post.
>
> Mark
>
> >Hi all. I have a DOS command question for the group. I run Windows
> >2000 professional on my machine. I was practicing some dos commands
> >and created a directory in C:\ called test1. When I run the del or
> >deltree command to delete test1 I am ask "Are you sure" <Y/N>. I
> >choose y and press enter. THEN, I run the dir command and Istill see
> >the directory test1. Why is this? Does the win2000 OS not support the
> >del or deltree commands? I type it just like this; del test1 or
> >deltree test1. Am I leaving out something? I think most other dos
> >commands run fine. Thanks for all your input.
It is really too bad the A+ no longer covers much DOS... DOS commands are
still widely used in the tech world.
If it did, you would know things like INTERNAL and EXTERNAL commands.
An INTERNAL command is a command they is written into the active
COMMAND.COM file. Examples of this are DIR, DEL, CD, MD, COPY, HELP, etc.
An EXTERNAL command is a seperate .exe file. Examples of this are
DELTREE, XCOPY, REGEDIT, etc.
As long as you are at the directory level where the external or .exe file
resides, you can run it. If you are not at the directory level, then you
need to run a PATH command telling DOS where the file sits before you can
run it.
| |
| Feejis 2003-02-21, 8:23 am |
| My first question is: Are there any files or were there any files in the test1
directory? My second question is: What are the current attributes of the test1
directory?
| |
| JohnnyVee 2003-02-21, 6:23 pm |
| HELP is an internal command?? I never would have guessed. Does it have any
value? Does all the text-based info go along with HELP. I thought in 6.x
HELP was a .COM file, making it an External command...I dunno, you positive
about this??...thanks
"Ghost" <user@user.com> wrote in message
news:user-2102030808590001@1.0.0.2...
> It is really too bad the A+ no longer covers much DOS... DOS commands are
> still widely used in the tech world.
>
> If it did, you would know things like INTERNAL and EXTERNAL commands.
>
> An INTERNAL command is a command they is written into the active
> COMMAND.COM file. Examples of this are DIR, DEL, CD, MD, COPY, HELP, etc.
>
> An EXTERNAL command is a seperate .exe file. Examples of this are
> DELTREE, XCOPY, REGEDIT, etc.
>
> As long as you are at the directory level where the external or .exe file
> resides, you can run it. If you are not at the directory level, then you
> need to run a PATH command telling DOS where the file sits before you can
> run it.
| |
| Ghost 2003-02-22, 12:23 am |
| Now that you bring it up, no i am no longer postive.. thanx for makin me
doubt myself... lol
I dunno... and i am too lazy to look it up... lol
In article <LPy5a.18827$0L3.7277470@news2.news.adelphia.net>, "JohnnyVee"
<whatever123@adelphia.net> wrote:
> HELP is an internal command?? I never would have guessed. Does it have any
> value? Does all the text-based info go along with HELP. I thought in 6.x
> HELP was a .COM file, making it an External command...I dunno, you positive
> about this??...thanks
>
> "Ghost" <user@user.com> wrote in message
> news:user-2102030808590001@1.0.0.2...
> > It is really too bad the A+ no longer covers much DOS... DOS commands are
> > still widely used in the tech world.
> >
> > If it did, you would know things like INTERNAL and EXTERNAL commands.
> >
> > An INTERNAL command is a command they is written into the active
> > COMMAND.COM file. Examples of this are DIR, DEL, CD, MD, COPY, HELP, etc.
> >
> > An EXTERNAL command is a seperate .exe file. Examples of this are
> > DELTREE, XCOPY, REGEDIT, etc.
> >
> > As long as you are at the directory level where the external or .exe file
> > resides, you can run it. If you are not at the directory level, then you
> > need to run a PATH command telling DOS where the file sits before you can
> > run it.
| |
| Tom MacIntyre 2003-02-22, 8:23 am |
| On Sat, 22 Feb 2003 05:27:13 GMT, user@user.com (Ghost) wrote:
>Now that you bring it up, no i am no longer postive.. thanx for makin me
>doubt myself... lol
>
>I dunno... and i am too lazy to look it up... lol
>
If I remember correctly, HELP is external. The /? part of HELP is
internal. That's the way I remember it, and I am also too lazy to look
it up. :-)
Tom
>
>In article <LPy5a.18827$0L3.7277470@news2.news.adelphia.net>, "JohnnyVee"
><whatever123@adelphia.net> wrote:
>
>> HELP is an internal command?? I never would have guessed. Does it have any
>> value? Does all the text-based info go along with HELP. I thought in 6.x
>> HELP was a .COM file, making it an External command...I dunno, you positive
>> about this??...thanks
>>
>> "Ghost" <user@user.com> wrote in message
>> news:user-2102030808590001@1.0.0.2...
>> > It is really too bad the A+ no longer covers much DOS... DOS commands are
>> > still widely used in the tech world.
>> >
>> > If it did, you would know things like INTERNAL and EXTERNAL commands.
>> >
>> > An INTERNAL command is a command they is written into the active
>> > COMMAND.COM file. Examples of this are DIR, DEL, CD, MD, COPY, HELP, etc.
>> >
>> > An EXTERNAL command is a seperate .exe file. Examples of this are
>> > DELTREE, XCOPY, REGEDIT, etc.
>> >
>> > As long as you are at the directory level where the external or .exe file
>> > resides, you can run it. If you are not at the directory level, then you
>> > need to run a PATH command telling DOS where the file sits before you can
>> > run it.
|
|
|
|
|