冰棍同学 当前离线
列兵
@echo off setlocal enabledelayedexpansion for /f "tokens=4*" %%i in ('netsh interface show interface') do ( set /a n+=1 set v!n!="%%i %%j" echo v!n! ) @pause复制代码
@echo off setlocal enabledelayedexpansion set /a n+=1 for /f "tokens=4*" %%i in ('netsh interface show interface') do ( set v!n!="%%i %%j" call echo %%v!n!%% ) @pause复制代码
TOP
tigerpower 当前离线
四级士官
call echo %%v!n!%%复制代码
cmd /c echo %%v!n!%%复制代码
flyinnet9 当前离线
少尉
echo v!n!="%%i %%j"复制代码
bailong360 (zhonghua)当前离线
上尉
for %%i in ("v!n!") do echo !%%~i!复制代码