Jump to content

Looking for old batch file program

david coleman

I am looking for a program called Bat Menu.  It produces a menu and you program in your own links in typical .bat format? Any one know where I can get it? 

 

Link to comment
Share on other sites

Link to post
Share on other sites

You can make it yourself in notepad ...

Here's starting point with 2 menu options :

 

@echo off

:menu 
echo [Menu]
echo.  
echo 1. Option A
echo 2. Option B
echo.  
choice /C 012 /N /M "Press 1 or 2 to select menu option, or 0 to print menu again.."

rem %ERRORLEVEL% contains the number of the option chosen, 1 means first key listed in /C, 2 means 2nd ..


IF %ERRORLEVEL% == 1 goto :menu

IF %ERRORLEVEL% == 2 goto :firstchoice

IF %ERRORLEVEL% == 3 goto :secondchoice




:firstchoice

echo You chose first menu option.
@pause
exit

:secondchoice

echo You chose second menu option.
@pause
exit

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×