wolonga123 当前离线
上等兵
@echo off SetLocal EnableDelayedExpansion For /F "tokens=*" %%i IN (test.txt) Do ( set "str=%%i" if "!str:~,1!" equ "→" ( if defined var (echo !var!&echo %%i) ELSE echo %%i ) else set var=%%i ) pause复制代码
评分人数
TOP