本帖最后由 flyinnet9 于 2015-11-10 11:13 编辑
笨办法- @echo off
- for /f "tokens=1-4 delims= " %%a in (x3.txt) do (
- for /f "delims=" %%i in ('findstr "%%a" 15.txt ^|findstr "%%b" ^|findstr "%%c" ^|findstr "%%d"') do (
- if not exist 1.txt (echo.%%i>>1.txt) else (findstr /c:"%%i" 1.txt >nul ||echo.%%i>>1.txt)
- )
- )
- findstr /v /g:1.txt 15.txt
- del 1.txt
复制代码
|