I working on small program to update the configuration of small program, I'm new to batch script,
user need to enter desired input to go to desired program and I have 5 set of programs with in the batch file and I don't know how to set a program if user not entered any number and pressed enter in that case I need to go to begin
:begin
SET /P runscript="Press The Desired Key and Press Enter ="
if %runscript%==1 goto setup
if %runscript%==2 goto start
if %runscript%==3 goto show
if %runscript%==4 goto stop
if %runscript%==5 goto end
How can I do that?