Код:

@Echo Off
cls
Set /A Min=-10, Max=10
:Begin
Set /P N=Input number %Min%^<-N^<=%Max% ^>
Echo %N%| >nul FindStr /R /C:"^-*[0-9][0-9]*$" ||(Echo Not a number entered "%N%" &GoTo :Begin)
If Not "%N:-=%"=="%N%" Set /A N=-%N:-=%
If %Min% LEQ %N% If %N% LEQ %Max% GoTo :Continue
Echo A number N=%N% outside the specified range %Min%^<-N^<=%Max% &GoTo :Begin
:Continue
Echo ===%N%
pause
Exit /B 0