本帖最后由 aloha20200628 于 2024-10-27 11:03 编辑
回复 1# 66899981
批处的胃口限于每行8K,无须让findstr喂食了...
- echo off &findstr /lv "|4|" data.txt>0.0
- move /y 0.0 data.txt
- pause&exit/b
复制代码 或改用 find 亦可...- echo off &find /v "|4|" data.txt|more +2>0.0
- move /y 0.0 data.txt
- pause&exit/b
复制代码
|