I've tried writing a simple batch file you can see below:
@echo off
title test file
:menu
set /p foo = Select option (1, 2, 3):
if foo == 1 goto one
if foo == 2 goto two
if foo == 3 goto three
:one
echo One!
goto menu
:two
echo Two!
goto menu
:three
echo Three!
goto menu
Writing any of the given options writes "One!"
to screen and returns the user back to the menu
label. I suspect the error is with the types of variable I am declaring, although I wouldn't know, since I'm new to Batch... Any help?