Use errorlevel:
Code:-- batch file -- c:\myprog\myprog.exe %1 if errorlevel 20 goto bad goto end bad: echo Program failed end: -- end batch file --
|
Results 1 to 2 of 2
|
Click Here to Expand Forum to Full Width |