parksie
Aug 5th, 2000, 03:37 AM
Use errorlevel:
-- batch file --
c:\myprog\myprog.exe %1
if errorlevel 20 goto bad
goto end
bad:
echo Program failed
end:
-- end batch file --
-- batch file --
c:\myprog\myprog.exe %1
if errorlevel 20 goto bad
goto end
bad:
echo Program failed
end:
-- end batch file --