Simple Windows cli tool to alter the ERRORLEVEL. Can be called by any shell that can invoke batch files.
Powershell:
.\errorlevel.cmd 11
echo $LASTEXITCODE # prints 11cmd:
errorlevel 11
echo %ERRORLEVEL%
REM prints 11{cmd} Simple Windows cli tool to alter the ERRORLEVEL. Can be called by any shell that can invoke batch files.
BatchfileWTFPL