cd\
ipconfig /all>mac.txt
find "Physical Address" c:\mac.txt >c:\phyaddr.txt
for /f "skip=2 tokens=12" %M in (c:\phyaddr.txt) do set 1=%M
find "%1%" 1.txt>5.txt
for /f "skip=2 tokens=1" %n in (c:\5.txt) do set 2=%n
替换c:/interface.txt 里的0.0.0.0
netsh -f c:/interface.txt