pro testování dávka Ping test uzavřená v Code
Kód: Vybrat vše
@echo Off
echo.
time /t > C:\LogPingTest.txt
time /t
echo ---------------------------------------------------
echo -------------------------------------------------------------- >> C:\LogPingTest.txt
echo Zahajuji "ping" na www.seznam.cz
ping -l 512 -n 20 www.seznam.cz >> C:\LogPingTest.txt
echo Výsledky byly uloženy do souboru C:\LogPingTest.txt
time /t >> C:\LogPingTest.txt
time /t
echo ---------------------------------------------------
time /t >> C:\LogPingTest.txt
echo -------------------------------------------------------------- >> C:\LogPingTest.txt
echo Zahajuji "ping" na www.Google.cz
ping -l 512 -n 20 www.Google.cz >> C:\LogPingTest.txt
echo Výsledky byly přidány do souboru C:\LogPingTest.txt
time /t
time /t >> C:\LogPingTest.txt
echo ---------------------------------------------------
echo ----------------------------------------------------------- >> C:\LogPingTest.txt
echo Zahajuji "ping" na www.PC-Help.cz
ping -l 512 -n 20 www.PC-Help.cz >> C:\LogPingTest.txt
echo Výsledky byly přidány do souboru C:\LogPingTest.txt
echo ---------------------------------------------------
echo ----------------------------------------------------------- >> C:\LogPingTest.txt
echo.
time /t >> C:\LogPingTest.txt
time /t
echo Test je dokončen
pause
pokud vám to chodí tak co dělám špatně