findstr
Verified for current stable LTS
Findstr Commands
Findstr command syntax with verified terminal examples.
Commands
8 commands for Findstr
findstr Search
Findstr Command: Display Filenames Containing Match
findstr /m "<string1 string2 ...>" * findstr Search
Findstr Command: Display Line Numbers Before Matching Lines
findstr /n "<string1 string2 ...>" * findstr Search
Findstr Command: Find Literal String In Text Files
findstr /c:"<string1 string2 ...>" *.txt findstr Search
Findstr Command: Find Strings Case Insensitive
findstr /i "<string1 string2 ...>" * findstr Search
Findstr Command: Find Strings In All Files
findstr "<string1 string2 ...>" * findstr Search
Findstr Command: Find Strings In Piped Command Output
<dir> | findstr "<string1 string2 ...>" findstr Search
Findstr Command: Find Strings Recursively In All Files
findstr /s "<string1 string2 ...>" * findstr Search
Findstr Command: Find Strings Using Regex
findstr /r "<regex>" * Suggest a Findstr Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Findstr workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.