|I am trying to find a way to filter out the number 13 based from an input. I have a variable SET _MAXST=18 which is where I check. If the number is less than 1, it needs to go to MESSAGE, if it is larger than _MAXST, it also needs to go to MESSAGE, if is any other number 1,2,3,4,5,6,7,8,9,10,11,12,14,15,16,17,18 these are linking to INDIVIDUAL.|
%choice% contains the users input.
This what I have
set /p choice=Type your number between 1 and 18:
IF /i '%choice%' LSS '1' (
) ELSE (
IF /i '%choice%' LEQ '%_MAXST%' (
The output is the following message:
The system cannot find the file specified.
Any help would be extremely appreciated as the variable _MAXST could be adjusted to say 20 or 25 later if needed.