G
Guest
Thanks to who ever reads this and even those who can't
help with problem... =)
I am trying to make a BATCH file that has 4 items to
choose (1 through 4 as choices). I am having a hard time
getting the syntex correct with the IF and Set commands.
I am not sure if there is anything thing else needed. I
can create a simple 2 item menu okay. but when I get 3 or
more choices in the batch syntex I can't get it to work.
Can someone show me how to get the syntex written
correctly for this? All I need is the stuff after this
following line (that is if the following line is correct).
set /p answer=Enter Choice:
Thanks ever so much for this.. if you are wondering what
I am doing.. I am trying to put a menu for easy testing
of ping and tracert commands, but mostly ping wiht an
exit line.
Sincerely,
Kevin in Alaska
help with problem... =)
I am trying to make a BATCH file that has 4 items to
choose (1 through 4 as choices). I am having a hard time
getting the syntex correct with the IF and Set commands.
I am not sure if there is anything thing else needed. I
can create a simple 2 item menu okay. but when I get 3 or
more choices in the batch syntex I can't get it to work.
Can someone show me how to get the syntex written
correctly for this? All I need is the stuff after this
following line (that is if the following line is correct).
set /p answer=Enter Choice:
Thanks ever so much for this.. if you are wondering what
I am doing.. I am trying to put a menu for easy testing
of ping and tracert commands, but mostly ping wiht an
exit line.
Sincerely,
Kevin in Alaska