Find
Searches for a specific string of text in a file or files.
After searching the specified files, find displays any lines of text that contain the specified string.
find [/v] [/c] [/n] [/i] "string" [[drive:][path]filename[...]]
Parameters
"string"
Specifies the group of characters you want to search for. You must enclose the
text for string in quotation marks.
[drive:][path] filename
Specifies the location and name of the file in which to search for the
specified string.
/v
Displays all lines not containing the specified string.
/c
Displays only a count of the lines that contain the specified string.
/n
Precedes each line with the file's line number.
/i
Specifies that the search is not to be case-sensitive.
See Also
Filter commands
Redirection symbols
More Information About Find
Find--Notes
Find--Examples