clear
space %1: 3000	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  
if exist %2:read*.* copy %2:read*.*

clear
echo Copying Resources ...
copy %2:resource.msg
echo %3 > resource.cfg
copy resource.000 + %2:resource.001 

%2:auddcomp .\ %2: > 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 

clear
echo
echo To run Shadows of Darkness Demo now:
echo   Type SIERRA [ENTER]
echo
echo To play later:
echo 	 From the directory of %1:%4,
echo   type SIERRA [ENTER]
echo

pause
goto Exit2


:NoSpace
clear
echo
echo You do not have enough disk space on %1
echo to install Shadows of Darkness!
echo 3 megabytes of hard disk space are required.
echo
pause

:Exit2
end

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


