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   [103 / 250] RSS
 From   To   Subject   Date/Time 
Message   Visitor    BBQ MAN   Menuing A BATCH File   September 13, 1995
 11:03 PM *  

@echo off
cls
:: A sample batch file for showing how to use SCANCODE.
echo Press a number key. Press the Esc key to exit.
:ready
scancode.com
if errorlevel  2 if not errorlevel  3 echo You pressed one
if errorlevel  3 if not errorlevel  4 echo You pressed two
if errorlevel  4 if not errorlevel  5 echo You pressed three
if errorlevel  5 if not errorlevel  6 echo You pressed four
if errorlevel  6 if not errorlevel  7 echo You pressed five
if errorlevel  7 if not errorlevel  8 echo You pressed six
if errorlevel  8 if not errorlevel  9 echo You pressed seven
if errorlevel  9 if not errorlevel 10 echo You pressed eight
if errorlevel 10 if not errorlevel 11 echo You pressed nine
if errorlevel  1 if not errorlevel  2 goto exit
goto ready
:exit
echo.
echo Enter "SCANCODE ?" at the DOS prompt to get a list of the key
echo scan codes needed for your batch file.
echo Press the Esc key to exit the scan code display mode.
echo.

-+-+--------------------------------------------------------------
n SCANCODE.COM
e100 "2"E4 CD 16 80 FC 0 "t"F7 8A C4 "PP"BB 80 0 "C"80 "??t"7 80
e117 "?"D "t-u"F3 BA "T"1 E8 "+"0 "X"B2 A "2"E4 F6 F2 D "00"8B D0
e12F B4 2 80 FA "0t"2 CD "!"8A D6 CD "!"BA CA 1 E8 C 0 "X"80 FC 1
e146 "u"B8 8A C4 B4 "L"CD "!"B4 9 CD "!"C3 0 "The keyboard scan c"
e167 "ode for the key pressed is $ Returns keyboard scan code as "
e1A2 "an errorlevel "D A "David Adamson - BatMagic"D A "$"
rCX
CD
w
q  CRC32=952D777A * CSCRIPT 2.0 *
-+-+--------------------------------------------------------------

 Save the script between the hash marks to an ASCII file.
 At the DOS prompt enter,  "DEBUG < filename"
 where "filename" is the name of the saved ASCII file.
___ Blue Wave/QWK v2.12
  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.0151 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