Windows Find a string in a file with long lines code example
Example 1: findstr current folder
Just specify all posible files names in current directory with regex *:
findstr string_to_search *
Example 2: find string in file windows
findstr /spin /c:"string" [files]
The parameters have the following meanings:
s = recursive
p = skip non-printable characters
i = case insensitive
n = print line numbers
And the string to search for is the bit you put in quotes after /c: