CUer 当前离线
上尉
@echo off for /f "tokens=2 delims==" %%a in ('wmic nic where "NetConnectionID like '%%连接'" get Caption /value') do ( set cap=%%a ) wmic NicConfig where "Caption='%cap%'" get DefaultIPGateway /value pause复制代码
TOP