clear
space %1: 2000 NoSpaceBig
godir %1:%4 CantCreate
echo Installing to hard drive...
echo Copying Startup Files...
copy %2:*.drv
copy %2:sierra.com
copy %2:sciv.exe
copy %2:install.*
copy %2:resource.map
echo Copying Game files...
copy %2:resource.001      
copy %2:resource.002      
copy %2:resource.003      
copy %2:resource.004      
copy %2:resource.005      
copy %2:resource.006      

echo %3 > resource.cfg

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

echo @echo off	>lsl2.bat
echo sierra resource.cfg >> lsl2.bat
echo cd.. >> lsl2.bat

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

:NoSpaceBig
clear
echo You don't have enough space (2 Meg) for this
echo game. Please free up some hard drive space
echo and try again.
pause
goto Exit2

:CantCreate
alert Unable to create directory %1:%4
pause
goto Exit2

:Exit2
%2:
cd\
end

