home *** CD-ROM | disk | FTP | other *** search
- echo off
- . testq.bat quickie test for query
- :start
- echo for query test, type y, n, esc, or another key for error
- query
- if errorlevel 2 echo error level was 2
- if errorlevel 1 echo error level was 1
- if errorlevel 0 echo error level was 0
- goto start