home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
sysutils
/
errorlev
/
getkey
/
input.bat
< prev
next >
Wrap
DOS Batch File
|
1988-11-08
|
578b
|
31 lines
@echo off
:begin
echo.
echo ┌─────────────────────────────────────────┐
echo │ │
echo │ Do you want to change the screen (y/n)? │
echo │ │
echo └─────────────────────────────────────────┘
getkey2
echo.
if errorlevel 121 if not errorlevel 122 goto L1
if errorlevel 110 if not errorlevel 111 goto L2
goto L3
:L2
echo You Pressed 'n' for No
pause
goto exi
:L1
lines
echo.
echo Screen size reset !
echo.
pause
goto exi
goto L3
:L3
echo Try Again !
goto begin
:exi
cls