Board logo

标题: [文本处理] 批处理怎样从大文件中查找关键词输出到不同的文件? [打印本页]

作者: hucuibai    时间: 2012-3-12 18:41     标题: 批处理怎样从大文件中查找关键词输出到不同的文件?

要想打开大的文本文件,100以上,然后查找里面的内容到不通的文本有没有好的办法~~~!!!!
  1. >item.txt (
  2. type count.txt|find /i "游戏背包信息"
  3. type count.txt|find /i "游戏装备栏信息"
  4.           )
  5. >otherinfo.txt (
  6. type count.txt|find /i "得到绑定银币"
  7. type count.txt|find /i "当前的银币"
  8. type count.txt|find /i "获得经验"
  9. type count.txt|find /i "杀死怪物"
  10. )
复制代码
count.txt| 100M
作者: find    时间: 2012-3-12 19:06

你这个方法需要运行几分钟?
作者: hucuibai    时间: 2012-3-13 10:42

没让它跑完,时间太长了就没让它跑了。




欢迎光临 批处理之家 (http://www.bathome.net/) Powered by Discuz! 7.2