I'm working on a batch file that generates a text file with a list of names in the format of
Name1
Name2
Name3
etc...
What I would like to do is create a menu that pulls the entries from the text file to create the options.
So
Menu
1 Name1
2 Name2
etc...
I'm ok with creating the menu itself but it's getting the data from the file and assigned to variables that is stumping me. I've looked at the FOR command but I guess my brain is just not wrapping around it. Does anyone have any code that does the above?
Any assistance would be greatly appreciated.