home *** CD-ROM | disk | FTP | other *** search
- @ECHO OFF
- IF "%1" == "" GOTO :WARN
- IF NOT "%MENU%" == "" GOTO :RUN
- ECHO.
- ECHO You must set the DOS Environment Variable MENU to the complete
- ECHO path of the Menu Designer directory before running menus.
- GOTO EXIT
- :RUN
- %MENU%DIRGET %MENU% /ND
- CALL %MENU%%1
- @ECHO OFF
- %MENU%DIRSET %MENU% /ND
- GOTO EXIT
- :WARN
- ECHO.
- ECHO You must specify which menu to run on the command line.
- :EXIT
- ECHO ON
-