How to implement Native bound batch Files by ARP
This article mainly shows you "ARP how to achieve native bound batch files", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "ARP how to achieve native bound batch files" this article.
@ echo off if exist ipconfig.txt del ipconfig.txt ipconfig / all > ipconfig.txt if exist phyaddr.txt del phyaddr.txt find "Physical Address" ipconfig.txt > phyaddr.txt for / f "skip=2 tokens=12" M in (phyaddr.txt) do set Mac=%%M if exist IPAddr.txt del IPaddr.txt find "IP Address" ipconfig.txt > IPAddr.txt for / f "skip=2 tokens=15" I in (IPAddr.txt) do set IP=%%I arp-s% IP%% Mac% del ipaddr.txt del ipconfig Txt del phyaddr.txt exit above is all the content of the article "how ARP implements Native bound batch Files" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!