Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. set "file=C:outputsummary.txt"
  2. for /f %%F in (findstr /I "FAIL" %file% | find /I /C "FAIL") do (
  3. set count=%%F
  4. )
  5.  
  6. if count neq 0 exit /B 1
  7. exit /B 0
  8.  
  9. | was unexpected at this time.
  10.  
  11. set "file=C:outputsummary.txt"
  12. find /C "FAIL" %file%
  13. if "%ERRORLEVEL%"=="0" (
  14. exit /B 1
  15. ) else (
  16. exit /B 0
  17. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement