. 

echo "WARNING: This script file will add files to your FONTS:"
echo "         and LIBS: directories.  Before running this"
echo "         script file make sure your disk containing A64"
echo "         is named A64."
echo ""

ask "Do you wish to continue? (Y/N)"
if not warn
    skip END
endif

echo ""
echo "Setting Up..."
resident C:makedir
resident C:copy
resident C:assign

if not exists RAM:A64Temp
    makedir RAM:A64Temp
endif

if not exists RAM:A64Temp/Fonts
    makedir RAM:A64Temp/Fonts
endif

if not exists Sys:Fonts
    makedir Sys:Fonts
    assign Fonts: Sys:Fonts
endif

if not exists RAM:A64Temp/Libs
    makedir RAM:A64Temp/Libs
endif

copy Fonts RAM:A64Temp/Fonts all quiet
copy Libs RAM:A64Temp/Libs quiet

echo ""
echo "Installing A64 Font..."
copy RAM:A64Temp/Fonts Fonts: all
sys:system/fixfonts

echo ""
echo "Installing SID Library..."
copy RAM:A64Temp/Libs Libs:

echo ""
echo "Cleaning Up..."
delete RAM:A64Temp all quiet

wait 5

lab end
