Created
January 10, 2012 02:17
-
-
Save hidsh/1586443 to your computer and use it in GitHub Desktop.
test result code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| :: 0: exit normally | |
| :: others: failed | |
| a.exe 0 | |
| if not %ERRORLEVEL% == 0 goto __FAILED | |
| echo succeeded. | |
| goto __EOF | |
| :__FAILED | |
| echo failed. | |
| :__EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment