Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set "file=C:outputsummary.txt"
- for /f %%F in (findstr /I "FAIL" %file% | find /I /C "FAIL") do (
- set count=%%F
- )
- if count neq 0 exit /B 1
- exit /B 0
- | was unexpected at this time.
- set "file=C:outputsummary.txt"
- find /C "FAIL" %file%
- if "%ERRORLEVEL%"=="0" (
- exit /B 1
- ) else (
- exit /B 0
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement