Are you really good at programming batch files, just don't know how to make menus with a Yes, No, or Choice 1, 2, or 3? You've come to the right place!
Steps

1 Click Start> Run

2 Enter "cmd" (without quotes)

3 Enter "edit"

Step 4. Enter the following commands
After each press enter. Anything in brackets does NOT need to be entered, these are notes with explanations.
5 @echo off (This command will 'hide' the ability to enter commands - optional, but we recommend using it) 6 cls (Hide everything above - optional, but if you want everything to look orderly - we recommend) 7: start Step 8.echo. 9 echo Choice 1 ("Choice 1" can be renamed as needed) 10 echo Choice 2 ") ~0, 1%
14 if '% choice%' == '1' goto: choice1 15 if '% choice%' == '2' goto: choice2 Then enter:) Please try again. Step 18.echo. 19 goto start Step 20. After that enter: 21: choice1 22 (commands to execute) 23 goto end 24: choice2 25 (commands) 26 goto end 27: choice3 28 (teams) 29 goto end Step 30. Continue until you have entered the number of commands you need. 31: end 32 pause 33 exit To check the batch file, double click on it. For more information, enter in the command line / help. For more information, enter in the command line choice / ?.
Step 11. echo Choice 3 (Insert as many choices as you need)
Step 12. Enter "set / p choice = (Insert a question or command here, for example" Yes or no?
Step 13.if not '% choice%' == set choice =% choice
Step 16 (Continue with this example until you reach the number of options you want
Step 17. echo "% choice%" is not a valid choice
34 Save as a.bat file
Example
@ECHO off cls: start ECHO. ECHO 1. Print Hello ECHO 2. Print Bye ECHO 3. Print Test set / p choice = Enter a number to output the text. rem if not '% choice%' == '' set choice =% choice: ~ 0; 1% (do not use this command as it only takes the first digit if you enter several. For example, if you enter the number 23455666, it will be only number 2 is selected and you get "bye" if '% choice%' == '' ECHO "% choice%" is not a valid option, try again if '% choice%' == '1' goto hello if '% choice % '==' 2 'goto bye if'% choice% '==' 3 'goto test ECHO. Goto start: hello ECHO HELLO goto end: bye ECHO BYE goto end: test ECHO TEST goto end: end pause exit
Advice
Warnings