An open API service indexing awesome lists of open source software.

https://github.com/aetonsi/cmd__errorlevel

{cmd} Simple Windows cli tool to alter the ERRORLEVEL. Can be called by any shell that can invoke batch files.
https://github.com/aetonsi/cmd__errorlevel

batch cli errorlevel windows

Last synced: 20 days ago
JSON representation

{cmd} Simple Windows cli tool to alter the ERRORLEVEL. Can be called by any shell that can invoke batch files.

Awesome Lists containing this project

README

          

# cmd__ErrorLevel
Simple Windows cli tool to alter the ERRORLEVEL. Can be called by any shell that can invoke batch files.

# Usage
Powershell:
```powershell
.\errorlevel.cmd 11
echo $LASTEXITCODE # prints 11
```

cmd:
```batch
errorlevel 11
echo %ERRORLEVEL%
REM prints 11
```