home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
pcmagazi
/
1989
/
02
/
repldemo.bat
< prev
next >
Wrap
DOS Batch File
|
1988-09-02
|
269b
|
13 lines
@ECHO OFF
ECHO Do you want to continue? Answer yes or no.
CALL GETREPLY
FOR %%f IN (yes no YES NO) DO IF %reply%==%%f GOTO %%f
ECHO You entered "%reply%" -- that is not yes or no.
GOTO end
:yes
ECHO You entered yes.
GOTO end
:no
ECHO You entered no.
:end