on errorlevel n only executes when equal

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
The Help says "ON ERRORLEVEL n will execute command when the internal ERRORLEVEL variable is greater than or equal to the integer specified by n." When I try it, it only executes when it is equal. I need to do "on errorlevel ge n" to have it execute when greater than or equal.

Foo.btm
on errorlevel 1 echo oops
call Foo2
echo %errorlevel

Foo2.btm
quit 2

TCC 12.01.44 Windows Vista [Version 6.0.6002]