cmd find code example
Example 1: find in windows
dir /s "regex_or_file_name"
dir /b "directory_name"
Example 2: windows find 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 3: cmder find file
Locate find.exe file:
where find.exe
Then rename it to a different name as fnd.exe and finally use this new commmand
name to search files or directories in current and subdirs as follows:
fnd . -name "file_name"