开发者

DOS Command FindStr

开发者 https://www.devze.com 2023-01-21 21:21 出处:网络
I have a need to use the DOS command FINDSTR to search in all our source code files mixed with other types 开发者_如何学Pythonof files such as PDF, exe, dll, etc.

I have a need to use the DOS command FINDSTR to search in all our source code files mixed with other types 开发者_如何学Pythonof files such as PDF, exe, dll, etc.

I do not need to search those binary files. Is there a way to exclude binary files?

My command looks like

findstr /r /n /o /s /g:c:\projects\vsssearch\muafinddata.txt /d:c:/projects/axl *.axl > output.txt

Thanks in advance for any insight.

John


Do yo try /p? Help says: "/P Skip files with non-printable characters."

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号