Find text in files and report filenames

Reading Time: 1 minute
Find text in files and report filenames
Rate this post

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

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:

If you need this to work recursive, use: