findstr

在一个或多个文件中查找指定的文本。 更多信息:https://learn.microsoft.com/windows-server/administration/windows-commands/findstr.

findstr "{{查询语句 查询语句 ..}}" *

findstr /s "{{查询语句 查询语句 ..}}" *

findstr /i "{{查询语句}}" *"

findstr /r "{{正则表达式}}" *

findstr /c:"{{查询语句}}" *.txt

findstr /n "{{查询语句}}" *

findstr /m "{{查询语句}}" *