例如有以下两个文本
1.txt 内容
aaa.exe
bbb.exe
ccc.exe
ddd.exe
2.txt 内容
c:\windows\aaa.exe
c:\windows\system32\bbb.exe
c:\windows\system32\sss.exe
c:\windows\bbb.exe
d:\abc\ccc.exe
e:\ddd.exe
想把2.txt中包含1.txt内容的行删除,1.txt和2.txt的内容都可以根据需要添加或更改。
请教如何做。先谢过。
1.txt 内容
aaa.exe
bbb.exe
ccc.exe
ddd.exe
2.txt 内容
c:\windows\aaa.exe
c:\windows\system32\bbb.exe
c:\windows\system32\sss.exe
c:\windows\bbb.exe
d:\abc\ccc.exe
e:\ddd.exe
想把2.txt中包含1.txt内容的行删除,1.txt和2.txt的内容都可以根据需要添加或更改。
请教如何做。先谢过。
