Category : Files from Magazines
Archive   : PCTECHUT.ZIP
Filename : ASKDEMO.BAT

 
Output of file : ASKDEMO.BAT contained in archive : PCTECHUT.ZIP
REM ASKKEY test
ECHO OFF
:GETKEY
ASKKEY Press Y or N
Rem Error if above 'Y'
IF ERRORLEVEL 90 GOTO ERROR
Rem Ok if = 'Y'
IF ERRORLEVEL 89 GOTO YES
Rem Error if Above 'N', below 'Y'
If ERRORLEVEL 79 GOTO ERROR
Rem OK if = 'N'
IF ERRORLEVEL 78 GOTO NO
Rem Else fall into error
:ERROR
Echo Wrong key pressed. Try again
GOTO GETKEY
:YES
ECHO Option "YES" was selected
GOTO EXIT
:NO
ECHO Option "NO" was selected
:EXIT
ECHO ASKKEY test completed.


  3 Responses to “Category : Files from Magazines
Archive   : PCTECHUT.ZIP
Filename : ASKDEMO.BAT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/