Some FindStr links
Posted by jpluimers on 2019/08/23
When searching text files on Windows, often FindStr is the only tool at hand. Given the MS-DOS ancestry, it carries quite a bit of history, so here are a few links on the quirks it has:
- [WayBack] Why doesn’t this FINDSTR example with multiple literal search strings find a match?
- [WayBack] What are the undocumented features and limitations of the Windows FINDSTR command?
- [WayBack] windows – findstr DOS Command’s multiple string argument – Super User (examples for NOR, OR, AND and EXACTLY)
- In addition, this also works for
OR:systeminfo | findstr /B /C:"OS Name" /C:"OS Version" /C:"System Type"
- In addition, this also works for
General references:
- [WayBack] FINDSTR Search for strings in files.
- [WayBack] TechNet Archive Windows XP Command-line reference A-Z: Findstr Searches for patterns of text in files using regular expressions.
–jeroen






Leave a comment