clear
space %1: 3700	NoSpace
godir %1:%4 CantCreate
echo Copying Files ...
copy %2:*.drv
copy %2:scid*.exe
copy %2:interp.txt
copy %2:version
copy %2:resource.000 
copy %2:resource.map 
copy %2:install.exe
copy %2:install.hlp
copy %2:install.txt
copy %2:resource.001
copy %2:resource.002

echo %3 > resource.cfg

echo @echo off > lsl1vga.bat
echo scidhuv >> lsl1vga.bat
echo cd.. >> lsl1vga.bat

copy lsl1vga.bat sierra.bat

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

:exit
clear
echo
echo Install Complete
echo To play go to %1:%4 and type:
echo lsl1vga
pause
goto Exit2

:NoSpace
clear
echo
echo There is not enough space on %1: to install Leisure Suit Larry 1!
echo 3.7 megabytes of disk space are necessary.
pause
goto Exit2

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



:Exit2
%2:
cd %2:\
end


