here is something similar to what Garrett said, but you can run it as a background process, for example displaying some other information on stdout:
@echo off
@start /wait FIND /C /I "SearchPhrase" path-to-your-file\filename.abc
IF ERRORLEVEL 1 (do-something)
a source
to share