pcl_test 当前离线
荣誉版主
@(for /f "tokens=3*" %%a in ('netsh interface show interface^|more +2') do @echo,%%b)>"d:\network.txt"复制代码
TOP
@echo off & setlocal enabledelayedexpansion for /f "delims=" %%a in ('netsh interface show interface^|more +3') do ( set "str=%%a" for /f "tokens=*" %%b in ("!str:~46!") do echo,%%b ) pause复制代码
@echo off & setlocal enabledelayedexpansion for /f "delims=" %%a in ('netsh interface show interface^|findstr /rv "环回 内部"^|more +3') do ( set "str=%%a" for /f "tokens=*" %%b in ("!str:~46!") do echo,%%b ) pause复制代码
@for /f "tokens=1*" %%a in ('systeminfo^|find "连接名"') do @echo;%%b @pause复制代码