查看文章 |
ARP本机绑定+网关绑定
2008-01-11 00:54
@echo off if exist IPAddr.txt del IPaddr.txt arp -s %IP% %Mac%
FOR /f "skip=17 tokens=13 usebackq " %%i in (`ipconfig /all`) do Set GateIP=%%i && GOTO GateMac exit
|
最近读者:
查看文章 |
@echo off if exist IPAddr.txt del IPaddr.txt arp -s %IP% %Mac%
FOR /f "skip=17 tokens=13 usebackq " %%i in (`ipconfig /all`) do Set GateIP=%%i && GOTO GateMac exit
|