Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to implement ARP Native bound bat Code

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report