CODE: [Copy to clipboard]@echo off ping DstIP -n 1 for /f "usebackq tokens=2,3*" %%i in (`arp -a ^| find "DstIP"`) do arp -s DstIP %%i