home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
batutl
/
battutor.arc
/
TESTF.BAT
< prev
next >
Wrap
DOS Batch File
|
1983-08-25
|
1KB
|
53 lines
echo off
. testf.bat quickie test for funky.com
:start
echo on
. Type a response to FUNKY
.
. funky will look for f5 - f10 and give an appropriate response
.
.
echo off
funky
if errorlevel 255 goto notex
if errorlevel 69 goto above
if errorlevel 68 goto f10
if errorlevel 67 goto f9
if errorlevel 66 goto f8
if errorlevel 65 goto f7
if errorlevel 64 goto f6
if errorlevel 63 goto f5
if not errorlevel 1 goto escape
echo funky found extended key below F5
goto start
:notex
echo funky found an non-extended key
goto start
:above
echo funky found extended key above F10
goto start
:f10
echo funky found F10
goto start
:f9
echo funky found F9
goto start
:f8
echo funky found F8
goto start
:f7
echo funky found F7
goto start
:f6
echo funky found F6
goto start
:f5
echo funky found F5
goto start
:escape
echo funky found ESC
ing EVERYTHING
slash/ / y/n by now ! )
goto continue
:4disks
slash/l/Four floppies!! A heavy duty