Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Im new (and question)  (Read 3003 times)

0 Members and 1 Guest are viewing this topic.

UNLISTED

  • Guest
Im new (and question)
« on: October 26, 2004, 10:40:24 PM »
Hey everone...
im abit of a newb to dos.
i know simple commands such as deltree, abit on netBIOS (nbtstat)
and a bit more.
i first want to introduce myself as a 12 year old who would like to learn more about dos.

**QUESTION**

In the CHOICE command,
how do i selkect what will hapeen on Y/N (etc...)
i think that the standard code for "extra" letters is:

CHOICE [/C[:]ABC] please press a, b, or c to continue.

then i think the second line is something like (lets say im just using Y and N)

If errorlevel=2(or something?)GOTO :FIRST
If errorlevel=1(or something?)GOTO :SECOND

Now i think the rest is something like(say Y=exit N=pause):

(something)
:FIRST pause
:SECOND exit

I know thats not the correct syntax.
PLEASE HELP...

merlin_2

  • Guest
Re: Im new (and question)
« Reply #1 on: October 27, 2004, 11:46:03 AM »

NAMED

  • Guest
Re: Im new (and question)
« Reply #2 on: October 27, 2004, 10:30:28 PM »
THANK YOU  :D