home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS - Coast to Coast
/
simteldosarchivecoasttocoast.iso
/
pcmag
/
vol9n02.zip
/
NOCASE.BAT
< prev
next >
Wrap
DOS Batch File
|
1989-08-31
|
685b
|
26 lines
@ECHO OFF
IF "%2"=="" GOTO params
SET %1=qrx
IF "%DYNAMIC%"=="qrx" GOTO accept1
SET %1=
ECHO Your first command line parameter must be "dynamic", or "DYNAMIC",
ECHO or "dYnAmIc" -- the case doesn't matter.
GOTO end
:accept1
SET %1=
SET %2=qrx
IF "%DUO%"=="qrx" GOTO accept2
SET %2=
ECHO Your second command line parameter must be "duo", or "DUO",
ECHO or "dUo" -- the case doesn't matter.
GOTO end
:accept2
SET %2=
ECHO You have properly entered "Dynamic Duo".
GOTO end
:params
ECHO Enter "%0 dynamic duo", and note that the CASE of your command
ECHO line parameters doesn't matter. "DyNaMiC duO" is fine, as long
ECHO as you spell the words correctly.
:end