Get the App
SLTechnology News&Howtos  ›  Development  › 

How to implement ARP Native bound bat Code

Shulou Source: shulou.com Published: 2022-06-03 08:29:49 11月15日 Update

This article mainly introduces how to achieve ARP native binding bat code, the article is very detailed, has a certain reference value, interested friends must read it!

The code is as follows:

@ 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 to implement ARP Native binding bat Code" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Code local machine content articles value interests guys buddies more knowledge industry information channels channels references help Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Shulou Information macOS vpn Docker