字符查询命令findstr的使用方法

时间:2024-10-21 20:52:52

1、打开运行,并输入“cmd”;

字符查询命令findstr的使用方法

2、回车后命令提示符自动打开;

字符查询命令findstr的使用方法

3、在命令提示符中输入“findstr”命令;

字符查询命令findstr的使用方法

4、设定要查询的字符;

字符查询命令findstr的使用方法

5、设定要查询的文件路径;

字符查询命令findstr的使用方法

6、点击回车,查看查询结果。我们可以看到,含有“不”字的行,都展示了出来。

字符查询命令findstr的使用方法

7、演示二:如果我们要查询字符“的”,请看演示:

字符查询命令findstr的使用方法
字符查询命令findstr的使用方法

8、命令使用方法是不是很简单。

© 手抄报圈