Category : Batch File Utilities - mostly for DOS
Archive   : IMPRVBAT.ZIP
Filename : BATKEY.DOC

Output of file : BATKEY.DOC contained in archive : IMPRVBAT.ZIP

BATKEY.COM By John Miktuk
Batkey is a program to enhance batch files. It accepts a digit from the
command line of between 1 and 9. It than waits for a keypress of less than or
equal to that digit and returns an ERRORLEVEL equal to the keypress. Pressing
the ESC key or the 0 key produces an ERRORLEVEL of 10, which is useful for an
exit option on a menu. Any keys outside the expected range are ignored.