Find text in files and report filenames

The “find” command usually reports too much information, because

find "some_text" *.*

also reports names of the files that do not contain the text.

A useful oneliner to have at hand is to start a cmd.exe window in the right folder, and enter:

for %I in (*.*) do @(find /i "some_text" "%~I">NUL&&echo %I)

If you need this to work recursive, use:

for /f %I in ('dir /b /s *.*') do @(find /i "some_text" "%~I">NUL&&echo %I)