echo off
echo      This batch file is for updating an already installed Hard Disk Menu
echo               Press Ctrl-Break to cancel or Enter to continue...
pause
if x%1 == x goto err
copy HDM.bat %1
copy *.doc %1
copy *.exe %1
if exist %1\hdmenu.exe del %1\hdmenu.exe
if exist %1\hdmenu.com del %1\hdmenu.com
if exist %1\hdmenu.chn del %1\hdmenu.chn
if exist %1\hdmenu.000 del %1\hdmenu.000
if exist %1\hdmenu.tgl ren %1\hdmenu.tgl hdm.cfg
if exist %1\hdmenu.txt ren %1\hdmenu.txt hdm.000
if exist %1\hdmenu.t?? ren %1\hdmenu.t?? hdm.0??
echo                         HDM IV update complete.
goto exit
:err
echo     You must enter the drive and directory containing HDM
echo         example:  UPDATE C:\HDM
:exit
