Re: Jak napisac bat'a ?

Autor: jurski <jurski_at_poczta.onet.pl>
Data: Fri 10 Nov 2006 - 15:02:41 MET
Message-ID: <ej20q1$svc$1@news.onet.pl>
Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=original

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