@echo off set "com=wmic Path Win32_NetworkAdapterConfiguration where "IPEnabled='True'" get DefaultIPGateway /value" for /f tokens^=2delims^=^" %%a in ('%com%') do set "gwip=%%a"&ping %%a pause
@echo off set "com=wmic Path Win32_NetworkAdapterConfiguration where "IPEnabled='True'" get DefaultIPGateway /value" for /f tokens^=2delims^=^" %%a in ('%com%') do set "gwip=%%a"&ping %%a pause
Netsky
这个人很懒,什么都没留下