home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sunny 1,000 Collection
/
SUNNY1000.iso
/
Files
/
Dos
/
Demogm
/
HERODEMO.ZIP
/
HERODEMO.EXE
/
INSTGAME.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-09-14
|
884b
|
34 lines
echo off
rem Parameters are
rem %1: drive on which to install the program
rem %2: drive from which installation is taking place
rem Check to see that there is enough space for the installation.
space %1: 500kb
if errorlevel 1 goto NoSpace
rem Create the drivers subdirectory and copy the drivers.
godir %1:\sierra\herodemo
if errorlevel 1 goto CantCreate
rem Copy over the necessary files.
echo Copying drivers...
copy %2:*.drv
echo Copying resources...
copy %2:sierra.com
copy %2:sciv.exe
copy %2:resource.*
copy %2:*.bat
copy %2:exists.com
copy %2:what.exe
%2:godir %1:\sierra
copy %2:*.bat %1:\sierra
goto Exit
:NoSpace
echo "There is not enough space on %1 to install this Demo."
echo "Approximately 500 Kbytes of disk space are required."
pause
goto Exit
:CantCreate
echo "Unable to create directory %1."
pause
goto Exit
:Exit