echo off
echo           This batch file is for a first time install only!
echo           Cancel it if you have a prior version of HDM in use,
echo           ...and use UPDATE.BAT to retain your menu entries.
echo                  - DO NOT INSTALL IN ROOT DIRECTORY -
echo           Press Ctrl-Break to cancel or Enter to continue...
pause
if x%1 == x goto err
md %1
copy *.* %1
echo     Add the following statements to the end of your AUTOEXEC.BAT file:
echo               PATH C:\;%1
echo               CD %1
echo               HDM
pause
goto exit
:err
echo     You must enter the drive and directory to install HDM IV
echo         example:  INSTALL C:\HDM
:exit
