home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 3
/
FREEWARE.BIN
/
towns_os
/
amenu
/
gh.bat
< prev
next >
Wrap
DOS Batch File
|
1980-01-02
|
512b
|
33 lines
run386 select gh.SEL
IF ERRORLEVEL 6 GOTO END
IF ERRORLEVEL 5 GOTO 5
IF ERRORLEVEL 4 GOTO 4
IF ERRORLEVEL 3 GOTO 3
IF ERRORLEVEL 2 GOTO DOC
IF ERRORLEVEL 1 GOTO EXE
IF ERRORLEVEL 0 GOTO END
:EXE
set=a:\
q:
cd %1
RUN386 Q:%1%1.exp
GOTO SKIP
:DOC
IF NOT EXIST Q:%1%1.DOC GOTO JUMP
RUN386 LOOK Q:%1%1.DOC
GOTO SKIP
:JUMP
RUN386 LOOK Q:%1\README.DOC
:3
RUN386 LOOK Q:%1%112.DOC
GOTO SKIP
:4
RUN386 LOOK Q:%1\gtx.DOC
GOTO SKIP
:5
RUN386 LOOK Q:%1\tiffx.DOC
:SKIP
a:
a:\gh.BAT %1
:END