grep windows
C:\> dir /B | findstr /R /C:"[mp]"
grep windows
C:\> dir /B | findstr /R /C:"[mp]"
grep 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:
grep in windows
Use findstr in Windows with following command line structure:
findstr [/I] [/S] "substring" "regex_file_name"
/I Case-insensitive search.
/S Search files in subfolders recursively.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us