标题:
求助:根据1.txt中每行的字符搜索2.txt, 并复制到3.txt
[打印本页]
作者:
yywd
时间:
2008-4-14 17:54
标题:
求助:根据1.txt中每行的字符搜索2.txt, 并复制到3.txt
求助:
根据1.txt中每行的字符搜索2.txt, 并复制到3.txt
如1.txt中内容为:
00001
00222
11105
2.txt中内容为:
d:\23\54541编号
d:\23\11105号及
d:\13\88778短横
d:\12\54455线
d:\123\00222编号及
d:\3\2\00001短横线
d:\1\66558编横线
3.txt中内容应为:
d:\123\00222编号及
d:\3\2\00001短横线
d:\23\11105号及
[
Last edited by yywd on 2008-4-14 at 05:55 PM
]
作者:
26933062
时间:
2008-4-14 18:12
:
CODE:
[Copy to clipboard]
@findstr /ig:1.txt 2.txt>3.txt
作者:
yywd
时间:
2008-4-15 07:21
简洁 高效, 谢 谢
欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/)
Powered by Discuz! 2.5