Grep for Windows 7, Windows 2008, etc.
Grep searches one or more input files for lines containing a match to a specified pattern. By default, grep prints the matching lines.
The general synopsis of the grep command line is
grep options pattern input_file_names
Grep for Windows examples