开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜