xslxslxsl 当前离线
五级士官
@echo off for /f "tokens=1,3 delims=," %%i in (in_txt.txt) do ( echo %%i,%%j )>>out_txt.txt pause&exit复制代码
hlzj88 当前离线
少校
for /f "tokens=1,2,3 delims=," %%i in (in_txt.txt) do ( echo %%j|findstr /i "工作组"&&echo %%i,%%j>>out_txt.txt || echo %%i,%%k>>out_txt.txt )复制代码
TOP
Echo11 当前离线
一级士官
qixiaobin0715 当前离线
大校
@echo off (for /f "tokens=1-3 delims=," %%i in (in_txt.txt) do ( if not "%%k"=="" ( echo,%%i,%%k ) else ( echo,%%i,%%j ) ))>out_txt.txt pause&exit复制代码