clear
space %1: 8000	NoSpace
godir %1:%4 CantCreate
echo Copying Startup Files ...
copy %2:*.drv
copy %2:scid*.exe
copy %2:interp.txt
copy %2:version
copy %2:install.exe
copy %2:install.hlp
copy %2:install.txt
copy %2:*.snd
copy %2:*.scr
copy %2:*.tex
copy %2:*.ico
echo Copying Game files...
copy %2:resource.map
copy %2:resource.000
copy %2:resource.001
copy %2:resource.002
copy %2:resource.003
copy %2:resource.004
copy %2:resource.005
copy %2:resource.006
copy %2:resource.007

echo %3 > resource.cfg

echo @echo off > lsl5.bat
echo scidhuv resource.cfg >> lsl5.bat
echo cd.. >> lsl5.bat

echo @echo off > ..\lsl5.bat
echo cd %1:%4 >> ..\lsl5.bat
echo lsl5 >> ..\lsl5.bat



:exit
clear
echo
echo Install complete.
echo To play: 
echo Go to %1:%4 and enter LSL5
echo
pause
goto Exit2


:NoSpace
clear
echo
echo There is not enough space on %1: for this game
echo (8.0 megabytes of disk space are necessary).
echo Please free up some space and try again.
pause
goto Exit2

:CantCreate
alert Unable to create directory %1:\sierra\lsl5
pause
goto Exit2

:Exit2
%2:
cd\
end

