这么一点样本,未必能解决你的实际问题。@echo offfor /f "delims=" %%a in (a.txt) do call :lis %%apause&exit:lisif not "%4"=="" echo %3 %4goto :eof