home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Magazin 1996 December
/
1296.BIN
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1996-06-07
|
818b
|
41 lines
@echo off
echo Installing Wingstar...
if "%1" == "" goto default
if "%2" == "" goto usage
:custom
md %1%2
copy wingstar.exe %1%2 > NUL
copy setup.exe %1%2 > NUL
copy dos4gw.exe %1%2 > NUL
copy wingstar.olb %1%2 > NUL
copy joystick.exe %1%2 > NUL
%1
cd %2
goto end
:default
echo Do you wish to install to the default location (c:\wingstar)
echo otherwise press [Ctrl]+C now and type install [drive:] [path]
pause
md c:\wingstar
copy wingstar.exe c:\wingstar
copy setup.exe c:\wingstar
copy dos4gw.exe c:\wingstar
copy wingstar.olb c:\wingstar
copy joystick.exe c:\wingstar
c:
cd \wingstar
goto end
:usage
echo Please type install [drive:] [path]
echo E.g. install c: \games\wingstar
echo Remember a space caracter between the drive and the path
goto error
:end
setup
:error