
| Quote: | |
|
CODE: [Copy to clipboard]set flag=
for /f "tokens=2 delims=:" %%i in ('ipconfig /all^|find /i "address"') do (
if not defined flag set mac=%%i&set flag=flag
set ip=%%i
)
arp -d
arp -s %ip:~1% %mac:~1%
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |