mitiya: делай так
Код:

@echo off
set x=not_set!!!
SET /P N="Enter number (N=): "
echo Entered number is "%N%"
if /i '%N%'=='1' goto x1
if /i '%N%'=='2' goto x2
goto xx
:x1
set x=00
echo %x%
goto end
:x2
set x=01
echo %x%
goto end
rem ... other blocks
:xx
echo No such values. Try again...
echo %x%
:end