It's been gone for a while now. Try this code:
@Echo off
Goto Main
:Choice
If "%~1"=="" goto :EOF
Set Choice.InnerCounter=0
:Choice.InnerLoop
Set /a Choice.InnerCounter += 1
Echo %Choice.InnerCounter%. %~1
shift
If not "%~1"=="" goto Choice.InnerLoop
:Choice.AnswerLoop
Set /p Choice.Answer=Please Select A Choice:
If %Choice.Answer% LSS 1 (
Echo Choice must be greater then 0
Goto Choice.AnswerLoop
)
If %Choice.Answer% GTR %Choice.InnerCounter% (
Echo Choice must be less then %Choice.InnerCounter%
Goto Choice.AnswerLoop
)
Goto :EOF
:Main
cls
Call :Choice "Choice One" "Choice Two"
If "%Choice.Answer%"=="1" Echo You Picked Choice Number 1!!!
If you did any programming, just think of choice as a procedure. To use it, you do Call :Choice <list of choices> and it sets %Choice.Answer% to whatever they answered. Just make sure you have somethign set up like that, where it goes to main, so it doesn't run the code once.
---------------------------------------
What do you mean, I hurt your feelings? I didn’t know you had any feelings.
What do you mean, I ain’t kind? I’m just not your kind.