clear
:Choose
godir %1:%4 cantcreate

cls

:faster
space %1: 14000 nospace1
echo
echo    Copying game files to
echo %1:%4, 
echo

echo @echo off        >..\kq7dos.bat
echo cd %4           >>..\kq7dos.bat
echo sierra         >>..\kq7dos.bat
echo cd ..           >>..\kq7dos.bat

echo @echo off        >kq7dos.bat
echo sierra         >>kq7dos.bat

REM Copy files without echoing the filenames being copied
copy %2:*.*    %1:            /s

echo %3				>resource.cfg
echo resAUD    = %1:%4		>>resource.cfg
echo resSFX    = %1:%4		>>resource.cfg
echo patchDir  = %1:%4		>>resource.cfg

goto done

:done
REM cd ..>NULL
cls
echo
echo    To play the Kings Quest 7 Demo, change to the
echo    current directory or to 
echo 
echo             %1:%4, and type:
echo
echo                                KQ7DOS [ENTER]
echo
echo
echo
echo
echo
echo
echo
pause
goto quit

:cantcreate
alert   Unable to create the directory %1:%4 !
pause
goto quit

:nospace1
cls
echo
echo    Hey! %1: doesn't have 13 megabytes free!
echo Go erase your word processor or something and let's
echo try this again later. 
echo 
echo 
echo
echo
echo
echo
echo
echo
pause
goto quit

:quit
end
