
CODE: [Copy to clipboard]@echo off
set n=1
:start
cls
for /f "tokens=1,2" %%i in ('arp -a^|findstr /c:" 192.168.0.1"') do echo %n% 次 %%i %%j
set /a n=%n%+1
ping -n 2 127.1 >nul
goto start
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |