deito 当前离线
列兵
CrLf 当前离线
论坛巡查
TOP
随风 当前离线
荣誉版主
@echo off for /f "tokens=1* delims=," %%a in (a.txt) do set .%%a=%%b setlocal enabledelayedexpansion for /f "tokens=1,2 delims=.=" %%a in ('set .') do ( set /a num+=1 set var!num!=%%a ) for /l %%a in (1 1 !num!) do echo !var%%a! pause复制代码