Sprawdź:
echo off
:start
c:\windows\system32\ping.exe 10.1.1.222 -n 1 > c:\windows\system32\ping.txt
findstr /C:"Odebrane = 1" c:\windows\system32\ping.txt
if errorlevel 1 goto b
if errorlevel 0 goto a
goto koniec
:a
echo a
goto start
:b
echo b
goto start
:koniec
pause
Received on Fri Nov 10 15:05:10 2006
To archiwum zostało wygenerowane przez hypermail 2.1.8 : Fri 10 Nov 2006 - 15:42:02 MET