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

 
Output of file : ASK.DOC contained in archive : ASK.ZIP
Documentation for ASK.COMASK.COM Version 1.10, (C)Copyright T A Davis, 1983
This program is an enhancement to the batch environment for DOS 2.00
To use ask, include a line in your batch file like 'ASK Continue ? '
The operating system will display 'Continue ? ' on the default output
device and wait for a keypress from the keyboard. If any character
besides Y,y,N,n is pressed, the program will display 'Y/N ? ' and
wait for another keypress. Upon entering a valid key, the program will
set ERROR LEVEL to 0 or 1 depending on whether Yy or Nn was pressed.
As a further enhancement to earlier versions, now if ASK (C/R) is included
the program will supply a prompt of 'Press Y or N ? 'To interogate
ERRORLEVEL, use a batch file simular to the one listed below.
(BATCH FILE)
echo off
echo Batch file to test ASK.COM
:start
ask
if not errorlevel 1 goto yesin
echo You pressed N or n.
goto next
:yesin
echo You pressed Y or y.
:next
ask Want to do it again ?
if not errorlevel 1 goto start
(END OF BATCH FILE)


  3 Responses to “Category : Batch File Utilities - mostly for DOS
Archive   : ASK.ZIP
Filename : ASK.DOC

  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/