@echo off
set filePath=D:/pingbaidu.txt
set ping_url=www.baidu.com
set sleep_times=2
:top
echo starting test network...
echo %date% %time%>>%filePath%
ping %ping_url% -n 1|findStr "TTL" >> %filePath%
ping -n %sleep_times% 127.1 >nul
goto top
windows ping 带日期时间
最新推荐文章于 2024-07-24 09:00:00 发布