home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS - Coast to Coast
/
simteldosarchivecoasttocoast.iso
/
pcmag
/
vol9n02.zip
/
SYNONYMS.BAT
< prev
Wrap
DOS Batch File
|
1989-08-31
|
482b
|
12 lines
@ECHO OFF
FOR %%v IN (BIG LITTLE) DO IF "%1"=="%%v" GOTO BEGIN
REM ---------- If we detect a synonym, we re-run this batch file
REM ---------- (%0) with the appropriate command-line parameter
FOR %%v IN (B b H h Big big HUGE Huge huge) DO IF "%1"=="%%v" %0 BIG
FOR %%v IN (L l T t Little little TINY Tiny tiny) DO IF "%1"=="%%v" %0 LITTLE
ECHO Valid inputs are BIG and LITTLE, but you can use synonyms.
GOTO end
:BEGIN
ECHO You selected %1 (or one of its synonyms)
:end