home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Education Master 1994 (4th Edition)
/
EDUCATIONS_MASTER_4TH_EDITION.bin
/
files
/
educames
/
circustm
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1993-11-30
|
2KB
|
61 lines
ECHO OFF
ECHO Install Program
@if not x%1 == x goto R1
ECHO Install Needs harddrive letter and colon after Install
ECHO EXAMPLE: install c:
ECHO Try Again!
@goto THEEND
:R1
@if not exist %1\nul goto R2
mkdir %1\color
@if not exist dino.exe goto R3
ECHO Copying files ...
@copy dino.exe %1\color
@copy isdino.cov %1\color
@rename isdino.cov dino.rsm
@copy dino.rsm %1\color
@rename dino.rsm isdino.cov
@copy home.rsm %1\color
@copy farm.rsm %1\color
@copy readme.bat %1\color
@copy readme_d %1\color
@copy vendor.doc %1\color
@copy fileid_d.diz %1\color
@copy install.bat %1\color
%1
cd %1\color
@if not exist %1\color\dino.exe goto R2
ECHO The COLOR directory is on Harddrive %1
ECHO To start the program from this directory
ECHO Type DINO and press the ENTER key.
GOTO THEEND
:R3
@if not exist circus.exe goto THEEND
ECHO Copying files ...
@copy circus.exe %1\color
@copy iscircus.cov %1\color
@rename iscircus.cov circus.rsm
@copy circus.rsm %1\color
@rename circus.rsm iscircus.cov
@copy sea.rsm %1\color
@copy zoo.rsm %1\color
@copy readme.bat %1\color
@copy readme_c %1\color
@copy vendor.doc %1\color
@copy fileid_c.diz %1\color
@copy install.bat %1\color
%1
cd %1\color
@if not exist %1\color\circus.exe goto R2
ECHO The COLOR directory is on Harddrive %1
ECHO To start the program from this directory
ECHO Type CIRCUS and press the ENTER key.
@goto THEEND
:R2
ECHO The %1 drive doesn't exist or no : was typed!
ECHO Try Again!
:THEEND