home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Joystick Magazine 1995 September (Special Edition)
/
Joystick-HS07-CD3.iso
/
heroes
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1995-08-22
|
522b
|
38 lines
@echo off
if %1x==x goto error
if %1==c: goto ok
if %1==C: goto ok
if %1==d: goto ok
if %1==D: goto ok
if %1==e: goto ok
if %1==E: goto ok
goto error
:ok
md %1\heroes
xcopy *.* %1\heroes
md %1\heroes\games
md %1\heroes\sound
md %1\heroes\pickups
xcopy games %1\heroes\games
xcopy pickups %1\heroes\pickups
xcopy sound\*.dig %1\heroes\sound
%1
cd \heroes
del install.bat
goto end
:error
echo
echo Usage: INSTALL drive:
echo Example: INSTALL c:
echo
:end
heroes
cd\
joystick