clear
:Choose
echo
echo You may, if you wish, install the game to your hard
echo drive. This will require approximately 2.5 megabytes 
echo of free space on your hard disk, but the game will 
echo probably play faster and smoother.
echo 
echo
echo Do you wish to install everything
echo to your hard drive (y/n)?
pick yn installHD installReg

:installHD
space %1: 2500 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:version
copy %2:install.*
copy %2:resource.map
copy %2:readme.

echo %3 > resource.cfg
echo @echo off > %1:sq3.bat
echo sierra >> %1:sq3.bat
echo Copying Game file...
copy %2:resource.001      
copy %2:resource.002      
copy %2:resource.003      
goto exit

:installReg
space %1: 1 NoSpaceBig
godir %1:%4 CantCreate
echo Installing to hard drive...
echo Copying Startup Files...
echo %3 > resource.cfg
echo @echo off > %1:sq3.bat
echo %2: >> %1:sq3.bat
echo cd \sq3 >>%1:sq3.bat
echo sierra %1:%4\resource.cfg >> %1:sq3.bat
echo pause >> %1:sq3.bat

echo doing that copy thing!!!!

copy %1:%4\resource.cfg %1:%4\resour
echo %1: >> %1:sq3.bat

:exit
clear
echo
echo ˙To play Space Quest III NOW:
echo ˙   Type SQ3 [ENTER].
echo
echo ˙To play Space Quest III LATER:
echo ˙   From %1:%4,
echo ˙   Type SQ3 and press [ENTER].
echo
pause
goto Exit2

:NoSpaceBig
clear
echo
echo There is not enough space on %1: to install. 
echo 2.5 megabytes of disk space are necessary.
pause
goto Exit2

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

:Exit2
end

