标题: [文本处理] 批处理怎样从大文件中查找关键词输出到不同的文件? [打印本页]
作者: hucuibai 时间: 2012-3-12 18:41 标题: 批处理怎样从大文件中查找关键词输出到不同的文件?
要想打开大的文本文件,100以上,然后查找里面的内容到不通的文本有没有好的办法~~~!!!!- >item.txt (
- type count.txt|find /i "游戏背包信息"
- type count.txt|find /i "游戏装备栏信息"
- )
-
-
- >otherinfo.txt (
- type count.txt|find /i "得到绑定银币"
- type count.txt|find /i "当前的银币"
- type count.txt|find /i "获得经验"
- type count.txt|find /i "杀死怪物"
- )
复制代码
count.txt| 100M
作者: find 时间: 2012-3-12 19:06
你这个方法需要运行几分钟?
作者: hucuibai 时间: 2012-3-13 10:42
没让它跑完,时间太长了就没让它跑了。
欢迎光临 批处理之家 (http://www.bathome.net/) |
Powered by Discuz! 7.2 |