ArdentMan 当前离线
中尉
@Echo Off For /F %%a in (a.txt) Do Echo %%a Pause>Nul复制代码
TOP
@Echo Off For /F "tokens=1* delims=:" %%i In ('Findstr /n .* a.txt') Do Set "_%%i=%%j" Echo %_5% Pause>Nul 复制代码
@Echo Off&SetLocal EnableDelayedExpansion For /F "tokens=1* delims=:" %%i In ('Findstr /n .* a.txt') Do Set "_%%i=%%j" For /L %%a in (5,1,10) Do Echo !_%%a! Pause>Nul 复制代码
@Echo Off (For /F %%i In (name.txt) Do ( For /F "skip=44 delims=;" %%j In (%%i.mon) Do Echo %%j ))>new1.xls 复制代码