AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to BAT Magic  <--  <--- Return to Home Page
   Local Database  BAT Magic   [98 / 250] RSS
 From   To   Subject   Date/Time 
Message   Joe    BBQ Man   Keystroke ERRORLEVEL utility   September 9, 1995
 7:18 PM *  

Re: choices

> Could someone please explain to me how make a batch file give me choices of
> things to do, and then make them run as I choose them?  In example...
> echo Select One: A B C
> if A goto AA
> if B goto BB
> if C goto CC
> :AA
> do whatever
> :BB
> do whatever
> :CC
> do whatever
> I know this can be done.  Can someone show me how please?

The simplest keystroke utility called GETKEY in PC Magazine back in '85 which
returns ERRORLEVEL that is the same as the ASCII value of the keystroke is
the following DEBUG script:

mov ah,00
int 16
mov ah,4c
int 21

rcx
8
w
q
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to BAT Magic  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0158 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.1.241108