.K ""
echo "This script will unpack the following lha archives:"
echo ""
echo "  SID.lha =>	Empty:"
echo ""

ask "Do you have a blank disk ready?"
if not WARN
	echo "Try again when you do ..."
	echo "All Done.  Click close gadget to get rid of window."
	endcli
endif

ask "Is floppy drive df1: free?"
if not WARN
	echo "You will need to do the unpacking yourself."
	echo "All Done.  Click close gadget to get rid of window."
	endcli
endif

echo "Formatting and unpacking disk."

sys:system/format drive df1: name Empty noicons
:c/lha -mraxe x SID.lha Empty:

echo "Restoring CBM's c:IconX to Empty:Programs/IconX..."
copy c:IconX Empty:Programs/IconX

echo "All Done.  Click close gadget to get rid of window."
endcli
