clear
space %1: 1 NoSpace

echo The install program will now setup
echo Willy CD to your hard drive.
echo Approximate hard drive space required:  1K
echo
echo Do you wish to (C)ontinue or (E)xit?
pick ce Continue Exit

:Continue
clear
godir %1:\dynamix\wcd	CantCreate
echo Copying Setup File ...
echo %3 >%1:\dynamix\wcd\resource.cfg
godir %1:\dynamix
echo @echo off > willy.bat
echo %2: >> willy.bat
echo willy %1:\dynamix\wcd\resource.cfg >> willy.bat

clear
echo
echo ˙To play NOW:
echo ˙   Type WILLY and press [ENTER].
echo
echo ˙To play LATER:
echo ˙   From the root directory of %1:,
echo ˙   Type cd \DYNAMIX and press [ENTER], then
echo ˙   Type WILLY and press [ENTER].
echo
pause
end

:NoSpace
clear
echo
alert There is not enough space on %1: to install Willy CD on your hard drive. 1K of disk space are necessary.
end

:CantCreate
clear
echo
alert Unable to create directory %1:\dynamix\wcd
end


