home *** CD-ROM | disk | FTP | other *** search
- echo off
- if %1.==. goto help
- if %2.==. goto help
- if %2.==%1. goto same
- if exist xlatmu.$$$ del xlatmu.$$$
- if not exist quattro.mu goto needq
- newmuqp %1.mu xlatmu.$$$
- if not exist xlatmu.$$$ goto fini
- newmuqp quattro.mu xlatmu.$$$ %2.mu
- if exist xlatmu.$$$ del xlatmu.$$$
- goto fini
- :needq
- echo ERROR: QUATTRO.MU not found in current directory
- goto fini
- :same
- echo ERROR: Use a different name for the new menu
- :help
- echo newmu (oldmenu) (newmenu)
- echo Ex: newmu c:\qpro1\oldmenu c:\qpro2\newmenu
- :fini
-