
CODE: [Copy to clipboard][ Last edited by lxmxn on 2007-6-12 at 05:43 PM ]findstr /v /g:1.txt 2.txt
| Quote: | |
|
CODE: [Copy to clipboard]for /f "tokens=2-6" %%i in ('findstr . 1.txt') do (
find "%%i" 2.txt & echo 1 %%i %%j %%k %%l %%m >>3.txt
)
for /f "tokens=2-6" %%a in ('findstr . 2.txt') do (
find "%%a" 1.txt & echo 2 %%a %%b %%c %%d %%e >>3.txt
)
CODE: [Copy to clipboard]C:\>findstr /v /g:1.txt 2.txt
192.168.0.101 00E0A0108F5E
| Quote: | |
|
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |