clear
space %1: 7000  NoSpace
godir %1:\sierra\pq     CantCreate
rem     Copy over the necessary files.
echo Copying Startup Files ...
copy %2:*.*
copy %2:\patches\*.* /q
del  %2:pqrs.bat
copy %2:pqrs.bat ..\pq.bat

echo %3 > resource.cfg


if exist resource.000 del resource.000
echo Copying Game files...

copy resource.000 + %2:resource.001
del resource.001

exists %2:resource.002 Please insert the disk labeled "Disk 2" in drive %2:.
copy resource.000 + %2:resource.002

exists %2:resource.003 Please insert the disk labeled "Disk 3" in drive %2:.
copy resource.000 + %2:resource.003

exists %2:resource.004 Please insert the disk labeled "Disk 4" in drive %2:.
copy resource.000 + %2:resource.004

exists %2:resource.005 Please insert the disk labeled "Disk 5" in drive %2:.
copy resource.000 + %2:resource.005

:exit
clear
echo
echo When you have installed Police Quest,
echo change to the sierra\pq directory, then type pq
echo
pause
goto Exit2


:NoSpace
clear
echo
echo There is not enough space on %1: to install Police Quest!
alert 7 megabytes of disk space are necessary.
echo
echo
end

rem :NoSmall
rem alert 5.8 megabytes of disk space are necessary.
rem end


:Exit2
end


:CantCreate
alert Unable to create directory %1:\sierra\pq
end
