sxhzx 当前离线
三级士官
inittab 当前离线
中尉
@echo off echo\正在处理请稍等...&type nul>comp.txt for /f %%a in ('type a.txt') do call :lp %%a start comp.txt&goto :eof :lp for /f %%b in ('type b.txt') do if %%b==%1 (goto :eof) echo\%1>>comp.txt复制代码
TOP
jmz573515 当前离线
二级士官
@echo off for /f "delims=" %%a in (a.txt) do findstr /c:"%%a" b.txt>nul||echo %%a>>c.txt复制代码