windows command line find string in files code example
Example 1: findstr case insensitive
Find strings with case-insensitive search using -i flag as follows:
findstr -i "Case_insensitive_substring"
For example:
dir | findstr -i "Case_insensitive_file_name"
Example 2: findstr in all files
Just specify /S to search in all subfolders and match all files with regex *:
findstr /S string_to_search *