Console Applications and %ERRORLEVEL% This is an off-site link.  Please review our Terms of Service for additional information.

(Richard Carr) When developing console applications that may be launched from batch files it can be helpful to return an integer to indicate the final status of the program. This value can be interrogated in the batch file using the %ERRORLEVEL% environment variable.

Read this article...

comments powered by Disqus