for %%i in (*) do (
echo %%i
set testflag=false
for /F "delims=" %%j in (%%i) do (
if "%%j" == "PC-LINT Check Completed!" set testflag=yes
)
echo ==%testflag%===
if not "%testflag%" == "yes" goto :break
echo %%i is matched
)
set completed=true
echo %completed%
cd ..
goto :end