home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pegasus Graphics Universe
/
Pegasus_Graphics_Universe.iso
/
p11
/
demo
/
demo.bat
next >
Wrap
DOS Batch File
|
1992-09-14
|
4KB
|
140 lines
ECHO OFF
REM Batch file for: P11 DEMOS
REM Batch file name: DEMO.BAT
REM Version: 3.1
REM Last modification date of this batch file: 9208131455
REM Written by Russell D. Hoffman, The Animated Software Co.(tm)
REM Modified by Russell D. Hoffman
CLS
ECHO * * * * G R E E T I N G S ! * * * *
ECHO *1) THIS BATCH FILE RUNS DEMOS FROM *
ECHO * THE ANIMATED SOFTWARE COMPANY. *
ECHO *2) PRESS [ESCAPE] TO END THE DEMO. *
ECHO *3) DEMO USES 2 VGA GRAPHICS MODES: *
ECHO * MODE 17 (640X480 DOTS, 2-COLOR) & *
ECHO * MODE 19 (320X200 DOTS, 256-COLOR) *
ECHO *4) DEMO CGA USES GRAPHICS MODE 4: *
ECHO * (320X200 DOTS, 4-COLOR) *
ECHO *5) DEMO ECGA USES GRAPHICS MODE 9: *
ECHO * (320X200 DOTS, 16-COLORS) *
ECHO *6) DEMO LITE WILL RUN VGA DEMO IN *
ECHO * MINIMUM MEMORY CONFIGURATION. *
ECHO * * * * T H A N K Y O U ! * * * * *
SET P11FLAGS=
IF %1.==. GOTO FULLCOLOR
IF %1==? GOTO INFO2
IF %1==ECGA GOTO ECGADEMO
IF %1==ecga GOTO ECGADEMO
IF %1==CGA GOTO CGADEMO
IF %1==cga GOTO CGADEMO
IF %1==LITE GOTO LITEDEMO
IF %1==lite GOTO LITEDEMO
GOTO FULLCOLOR
:INFO2
PAUSE
GOTO INFO
:ECGADEMO
PAUSE
CLS
IF NOT EXIST \P11\DEMO\ECGADEMO\ECGADEMO.TXT GOTO ECGACURRPATH
IF NOT EXIST \P11\P11RUN.EXE GOTO NOP11
\P11\P11RUN [FO:23 F:175 C:33] \P11\DEMO\ECGADEMO\ECGADEMO.TXT
GOTO DONE
:ECGACURRPATH
IF NOT EXIST ECGADEMO.TXT GOTO ECGAOOPS
IF EXIST \P11\P11RUN.EXE GOTO MXDECGA
IF NOT EXIST P11RUN.EXE GOTO NOP11
P11RUN.EXE [FO:23 F:175 C:33] ECGADEMO.TXT
GOTO DONE
:MXDECGA
\P11\P11RUN.EXE [FO:23 F:175 C:33] ECGADEMO.TXT
GOTO DONE
:ECGAOOPS
CLS
ECHO **************************************
ECHO ATTENTION:
ECHO CANNOT FIND THE ECGA DEMO, WHICH IS
ECHO EXTRACTED FROM ECGADEMO.ZIP.
ECHO **************************************
GOTO INFO
:CGADEMO
PAUSE
CLS
IF NOT EXIST \P11\DEMO\CGADEMO\CGADEMO.TXT GOTO CGACURRPATH
IF NOT EXIST \P11\P11RUN.EXE GOTO NOP11
\P11\P11RUN [FO:15 F:175 C:15 E:0] \P11\DEMO\CGADEMO\CGADEMO.TXT
GOTO DONE
:CGACURRPATH
IF NOT EXIST CGADEMO.TXT GOTO CGAOOPS
IF EXIST \P11\P11RUN.EXE GOTO MXDCGA
IF NOT EXIST P11RUN.EXE GOTO NOP11
P11RUN [FO:15 F:175 C:15 E:0] CGADEMO.TXT
GOTO DONE
:MXDCGA
\P11\P11RUN.EXE CGADEMO.TXT
GOTO DONE
:CGAOOPS
CLS
ECHO **************************************
ECHO ATTENTION:
ECHO CANNOT FIND THE CGA DEMO, WHICH IS
ECHO EXTRACTED FROM CGADEMO.ZIP.
ECHO **************************************
GOTO INFO
:LITEDEMO
PAUSE
CLS
IF NOT EXIST \P11\DEMO\MCGADEMO\MAINMENU.TXT GOTO MCGAOOPS
IF NOT EXIST \P11\P11RUN.EXE GOTO NOP11
\P11\P11RUN [FO:9 F:175 C:16 E:0] \P11\DEMO\MCGADEMO\MAINMENU.TXT
IF ERRORLEVEL 1 GOTO DEMOFAILED
GOTO EXIT
:FULLCOLOR
PAUSE
CLS
IF NOT EXIST \P11\DEMO\MCGADEMO\MAINMENU.TXT GOTO MCGAOOPS
IF NOT EXIST \P11\P11RUN.EXE GOTO NOP11
\P11\P11RUN [FO:52 F:275 C:64] \P11\DEMO\MCGADEMO\MAINMENU.TXT
:DONE
IF ERRORLEVEL 1 GOTO DEMOFAILED
GOTO EXIT
:NOP11
CLS
ECHO **************************************
ECHO ATTENTION:
ECHO CANNOT FIND \P11\P11RUN.EXE.
ECHO THE P11RUN.EXE PROGRAM MUST BE IN
ECHO THE \P11 DIRECTORY TO PROPERLY RUN
ECHO THIS DEMO.
ECHO **************************************
GOTO INFO
:MCGAOOPS
CLS
ECHO **************************************
ECHO OOPS!
ECHO CANNOT FIND THE MCGA DEMO, WHICH IS
ECHO EXTRACTED FROM MCGADEMO.ZIP.
ECHO **************************************
GOTO INFO
:DEMOFAILED
CLS
ECHO !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ECHO ! UNABLE TO RUN THE WHOLE DEMO!! !
ECHO ! DOES YOUR SCREEN SUPPORT THE !
ECHO ! SCREEN MODE YOU CHOSE? ALSO, !
ECHO ! TRY REMOVING ANY TSR SOFTWARE, !
ECHO ! DOS SHELLS, ETC. AND RERUN! !
:INFO
ECHO !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ECHO !! FOR ASSISTANCE, PLEASE CONTACT: !!
ECHO !! THE ANIMATED SOFTWARE COMPANY !!
ECHO !! America Online:RUSSELL DH !!
ECHO !! Compuserve:70743,1226 !!
ECHO !! Phone:(800) 551-2726 !!
ECHO !! (619) 720-7261 !!
ECHO !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
PAUSE
:EXIT
ECHO ........Bye from The Animated Software Company!
ECHO ON