Windows console command: find a pattern inside a text?
I remember windows getting a command to search a pattern inside a text. 开发者_运维知识库Does there anyone know that?
Thanks.
Even before then, there's the FIND command (goes all the way back to DOS 2.0).
FIND "string" filename
The string needs to be in double quotes.
I think you might be looking for FINDSTR. It's available in Windows XP and later. Type
findstr /?
For usage info.
精彩评论