home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
australi
/
spgames.lzh
/
GAMES.BAT
< prev
next >
Wrap
DOS Batch File
|
1989-07-25
|
2KB
|
51 lines
ECHO OFF
rem Sample Batch file to start the games on both this disk and disk 1.
rem (this batch file works best with an ANSI compatible device driver)
rem
rem **** please study the notes at the end of the file if you have any
rem problems getting this batch file to work.
:begin
cls
type games.txt
option A1a1B2b2C3c3D4d4E5e5F6f6G7g7H8h8I9i9J:j:K;k;-24H
cls
if errorlevel 11 goto end
if errorlevel 10 hypocycl
if errorlevel 9 O&Xkey
if errorlevel 8 O&Xmouse
if errorlevel 7 squasher squasher.ini
if errorlevel 6 blackjak cards.tpg
if errorlevel 5 pokersq cards.tpg
if errorlevel 4 walkline 20
if errorlevel 3 horse horses.tpg
if errorlevel 2 aliens
if errorlevel 1 conquest
goto begin
rem **************************************************************************
rem **************************************************************************
rem This batch file will run best when executed from the directory the
rem games are located in; Squasher and PokerSq require other files
rem which this batch file assumes are in the current directory!
rem
rem If you wanted to place this batch file in a different directory to the
rem games: include both that directory and the games directory in the PATH
rem and prefix the parameters for squasher and pokersq square with the
rem directory they are located in
rem for example:
rem if errorlevel 1 pokersq c:\games\cards.pcx
rem ^^^^^^^^^games directory
rem or
rem if errorlevel 1 c:\games\pokersq c:\games\cards.pcx
rem ** this version doesn't require the games dir. to be on the PATH.
rem
rem It should be fairly easly (hopefully) to extend this batch file (if you
rem wanted) to include any other games (or other applications)!
rem
rem Stephen Peter
rem SPETER Software
rem PO Box 643
rem Lane Cove
rem NSW 2066
rem Australia
:end