|Here are a couple of options:|
@echo off & setlocal
(for /r %%a in (*.txtt) do (
find /v /n "" <%%a | findstr /r ".*\[\].*"
that seemed to work ok.
findstr /s /n ".*" *.txt | findstr /r ".*::.*">>errors.txt
also seemed to work. The filepathname is included in the output