Home

Awesome

seterlvl Flattr this

Set the errorlevel and exit.

Usage

seterlvl [options] errorlevel

errorlevel can be from -4294967295 to 4294967295

Options:
-v | --version       Show version and copyright information and quit
-? | --help          Show this help message and quit

Examples

C:\>echo %errorlevel%
0

C:\>seterlvl.exe 1

C:\>echo %errorlevel%
1

C:\>seterlvl.exe 2147483647

C:\>echo %errorlevel%
2147483647

C:\>seterlvl.exe 2147483648

C:\>echo %errorlevel%
-2147483648

C:\>seterlvl.exe 4294967295

C:\>echo %errorlevel%
-1

C:\>seterlvl.exe -1

C:\>echo %errorlevel%
-1

C:\>seterlvl.exe -4294967295

C:\>echo %errorlevel%
1

C:\>seterlvl.exe 0

C:\>echo %errorlevel%
0

Verify a Release

To verify a release, download the .zip, .sha256, and .asc files for the release (replacing seterlvl-1.3-win32.zip with the release you are verifying):

$ wget https://github.com/rasa/seterlvl/releases/download/v1.3/seterlvl-1.3-win32.zip{,.sha256,.asc}

Next, check that sha256sum reports "OK":

$ sha256sum -c seterlvl-1.3-win32.zip.sha256
seterlvl-1.3-win32.zip: OK

Lastly, check that GPG reports "Good signature":

$ gpg --keyserver hkps.pool.sks-keyservers.net --recv-key 0x105a5225b6ab4b22
$ gpg --verify seterlvl-1.3-win32.zip.asc seterlvl-1.3-win32.zip
gpg:                using RSA key 0xFF914F74B4BB6EF3
gpg: Good signature from "Ross Smith II <ross@smithii.com>" [ultimate]
...

Contributing

To contribute to this project, please see CONTRIBUTING.md.

Bugs

To view existing bugs, or report a new bug, please see issues.

Changelog

To view the version history for this project, please see CHANGELOG.md.

License

This project is MIT licensed.

Contact

This project was created and is maintained by Ross Smith II endorse

Feedback, suggestions, and enhancements are welcome.