@echo off goto START ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» º SAMPLE BATCH FILE SHOWING SOME OF THE CAPABILITIES OF MENU_MAN º º Version 2.0 º º Copyright 1993-1994, MicroMetric, All Rights Reserved. º ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ :START menu_man A %0 m10 cn113 eb ea rem THIS IS A SAMPLE BATCH FILE USING MENU_MAN rem. rem. It will demonstrate several major MENU_MAN features. rem. ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ rem. rem This is a text window being displayed for a fixed length of time (30 rem seconds). No selection is required. rem. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ rem. ³ P L E A S E W A I T ! ! ³ rem. ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ rem [To continue, without waiting the full time period, press any key.] menu_man Z %0 x1-2 rem THIS IS A CHECK BOX MENU rem Show the enviorment after the menu. rem Echo Hello after the menu. rem Have a message after this menu. rem eXit this batch file with nothing else done. if .%Z4%==.T goto EXIT if .%Z1%==.F goto Z1B set pause :Z1B if .%Z2%==.F goto Z2B echo Hello! pause :Z2B if .%Z3%==.F goto Z3B menu_man Y %0 m10 cn113 ea rem MESSAGE rem This is the message you asked rem for in the CHECK BOX. :Z3B rem Clear Enviorment set in last check box menu_man !Z menu_man B %0 pt,l rem THIS IS MENU ONE, WITH SIMPLE SELECTION rem Continue rem eXit if ERRORLEVEL 1 if NOT ERRORLEVEL 2 goto 2 if ERRORLEVEL 2 if NOT ERRORLEVEL 3 goto EXIT :2 menu_man C %0 pc,c w200 rem THIS IS MENU TWO, WITH SLOW EXPLODE AND MULTIPLE SELECTION rem Continue with the next menu rem Start this routine over rem eXit if ERRORLEVEL 1 if NOT ERRORLEVEL 2 goto 3 if ERRORLEVEL 2 if NOT ERRORLEVEL 3 goto START if ERRORLEVEL 3 if NOT ERRORLEVEL 4 goto EXIT :3 menu_man D %0 pb,r t10 b512,500 rem THIS IS MENU THREE, WITH LONG SOUND AND LIMITED TIME SELECTION rem Continue with the next menu rem Start this routine over rem eXit if ERRORLEVEL 1 if NOT ERRORLEVEL 2 goto 4 if ERRORLEVEL 2 if NOT ERRORLEVEL 3 goto START if ERRORLEVEL 3 if NOT ERRORLEVEL 4 goto EXIT :4 menu_man 1 %0 m0 cn113 ea rem THIS IS DEMONSTRATE HOW A MENU CAN BE MOVED rem rem All menu_man menus may be moved by the user. rem To move a menu use Ctrl + Arrow key combination. rem rem Hold down the Ctrl key now press the down arrow key three times rem and the menu moves down three lines. rem rem rem [To continue press any key.] menu_man E %0 pt,c eb t10 rem THIS IS MENU FOUR, WITH NO SHADOW BORDER AND CLEAR SCREEN BEFORE DISPLAY rem Continue with the next menu rem Start this routine over rem eXit if ERRORLEVEL 1 if NOT ERRORLEVEL 2 goto 5 if ERRORLEVEL 2 if NOT ERRORLEVEL 3 goto START if ERRORLEVEL 3 if NOT ERRORLEVEL 4 goto EXIT :5 menu_man F %0 pc,r w0 b0,0 t10 rem THIS IS MENU FIVE, WITH NO EXPLODE OR SOUND rem Continue with the next menu rem Start this routine over rem eXit if ERRORLEVEL 1 if NOT ERRORLEVEL 2 goto 6 if ERRORLEVEL 2 if NOT ERRORLEVEL 3 goto START if ERRORLEVEL 3 if NOT ERRORLEVEL 4 goto EXIT :6 menu_man G %0 pb,l t10 l2 rem THIS IS THE LAST MENU, WITH HIGHLIGHT LOCATION rem Start this routine over rem eXit if ERRORLEVEL 1 if NOT ERRORLEVEL 2 goto START if ERRORLEVEL 2 if NOT ERRORLEVEL 3 goto EXIT :EXIT