Windows Server 2012 R2
I’d like a list of errorlevel return codes that the Windows executable returns for any action. I’m building a rather complex set of batch files to automate my cert renewal and email me when there’s a problem or when successful, etc.
I know on this page https://zerossl.com/usage.html the example shows how to return a custom errorlevel to a batch file in a DOS window when the renewal is successful. I need to know what all of the other possible errorlevel codes are, especially when there is a problem.
For example, it returns an errorlevel code of 1 for simply displaying the
--help syntax. And errorlevel 255 is returned if I pass it a nonsense parameter.
Thanks for your assistance!