zwykły .bat
@setlocal EnableDelayedExpansion
@echo off
color 1f
cls
set target=
www.wp.pl
set count=3600
echo.Target: %target% (n=%count%^) & echo.Target: %target% (n=%count%^) > TestNet_Result.txt
echo.Start: %date% %time:~0,8% & echo.Start: %date% %time:~0,8% >> TestNet_Result.txt
:loop
for /f "tokens=7 delims== " %%a in ('ping %target% -n 1 ^| find "time="') do set output=%%a
if "%output%"=="" set "line=FAIL" & set "fail=1" & set "output=0"
set output=%output:ms=%
if %output% lss 100 for /l %%i in (1,1,%output%) do set line=!line!o
if %output% geq 100 for /l %%i in (1,1,100) do set line=!line!x
echo.%line% %output%ms
if "%line%"=="FAIL" echo.%line% %date% %time:~0,8% >> TestNet_Result.txt
set /a count-=1
set output=
set line=
timeout 1 > NUL
if %count% gtr 0 goto :loop
if not %fail% equ 1 echo.Test Passed. >> TestNet_Result.txt
echo.Stop: %date% %time:~0,8% & echo.Stop: %date% %time:0,8% >> TestNet_Result.txt
echo.
pause
Ja lubię sam sobie coś zrobić pod swoje potrzeby :)