When I use the CHOICE option my program works , I just needed to change it with the SET command
When I use it on NT, it says that it doesn't recognize the command...
Is there any other solution for the CHOICE command or do I use a wrong syntax:
This is what I use:
CHOICE /N /C:123 PICK A NUMBER (1, 2, or 3)%1
IF ERRORLEVEL ==3 GOTO THREE
IF ERRORLEVEL ==2 GOTO TWO
IF ERRORLEVEL ==1 GOTO ONE
GOTO END
:THREE
ECHO YOU HAVE PRESSED THREE
GOTO END
:TWO
ECHO YOU HAVE PRESSED TWO
GOTO END
:ONE
ECHO YOU HAVE PRESSED ONE
:END
Please can someone provide me with some feedback
Big thanks,
Wizzy