用DOS命令 只保留带有“某字符串”的所有行

find  "@"  F:/00f.txt > F:/book.txt ------------------

find  "abc"  F:/00f.txt > F:/book.txt-----------------

某一行含有字符串“abc”,则本行输出到新文件中

猜你喜欢

转载自www.cnblogs.com/zamscs/p/12970047.html