I\'m experimenting with a Windows batch file to perform a simple operation which requires the user to enter a non-negative integer. I\'m using simple batch-file techniques t
Try this:
set /p numeric=enter a number ( (if errorlevel %numeric% break ) 2>nul )&&( echo %numeric% is numeric )||( echo %numeric% is NOT numeric )