clear
space %1: 7500	NoSpace
godir %1:%4	CantCreate

echo Copying Drivers ...
copy %2:version 
copy %2:sierra.exe
copy %2:*.drv 
copy %2:interp.* 
copy %2:install.* 
copy %2:*.map  
copy %2:read*.*

copy %2:resource.msg
echo %3 > resource.cfg

clear
echo Processing Audio Files ...
%2:audio.exe >nul
if exist %2:*.fon copy %2:*.fon 
if exist %2:*.hep copy %2:*.hep 
if exist %2:*.msg	copy %2:*.msg 
if exist %2:*.pal	copy %2:*.pal 
if exist %2:*.scr copy %2:*.scr 
if exist %2:*.tex	copy %2:*.tex 
if exist %2:*.txt	copy %2:*.txt 
if exist %2:*.voc	copy %2:*.voc 
if exist %2:*.p56	copy %2:*.p56 
if exist %2:*.v56	copy %2:*.v56 

if exist resource.000 del resource.000
clear
copy resource.000 + %2:resource.001  

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

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

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

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

clear
echo
echo To play Quest for Glory III now:
echo   Type SIERRA [ENTER]
echo
echo To play later:
echo 	 From the directory of %1:%4,
echo   and type SIERRA [ENTER]
echo

pause
goto Exit2


:NoSpace
clear
echo
echo You do not have enough disk space on %1
echo to install Quest for Glory III!
echo 7.5 megabytes of hard disk space are required.
echo
pause

:Exit2
end

:CantCreate
alert Cannot create directory %1:%4.
end

