home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 3
/
FREEWARE.BIN
/
towns_os
/
amenu
/
dmy.bat
< prev
next >
Wrap
DOS Batch File
|
1980-01-02
|
705b
|
39 lines
run386 select dmy.SEL
IF ERRORLEVEL 6 GOTO END
IF ERRORLEVEL 5 GOTO 202
IF ERRORLEVEL 4 GOTO 201
IF ERRORLEVEL 3 GOTO 200
IF ERRORLEVEL 2 GOTO 101
IF ERRORLEVEL 1 GOTO EXE
IF ERRORLEVEL 0 GOTO END
:EXE
Q:
CD DMYCON
\RUN386 DSP400
CTTY CON:
CONSIM C:\COMMAND.COM
CD\
GOTO SKIP
:101
IF NOT EXIST Q:%1\dmy101.DOC GOTO JUMP
RUN386 LOOK Q:%1\dmy101.DOC
GOTO SKIP
:200
IF NOT EXIST Q:%1\dmy200.DOC GOTO JUMP
RUN386 LOOK Q:%1\dmy200.DOC
GOTO SKIP
:201
IF NOT EXIST Q:%1\dmy201.DOC GOTO JUMP
RUN386 LOOK Q:%1\dmy201.DOC
GOTO SKIP
:202
IF NOT EXIST Q:%1\dmy202.DOC GOTO JUMP
RUN386 LOOK Q:%1\dmy202.DOC
GOTO SKIP
:JUMP
RUN386 LOOK Q:%1\README.DOC
:SKIP
a:
a:\DMY.BAT %1
:END