1
vote
1answer
3k views

Batch File, PING, errorlevel and > null what do they do?

This seems like a really easy question (running Windows 7). But I have looked for the answer and couldn't find anything at Microsoft's sites (XP PING & Everything else PING) or from a bunch of ...
2
votes
1answer
75 views

Log ping and date isnt working [closed]

:START echo %date% %time% && ping -n 1 192.168.1.1 >> pingReport.txt 2>&1 echo %date% %time% && ping -n 1 192.168.1.2 >> pingReport.txt 2>&1 echo %date% ...
1
vote
2answers
27k views

Batch file to write ping results to a text file

I know this is a variation of an already asked question but after research and several failed attempts I think I need some help. I would like to ping two websites repeatedly and record the time and ...
3
votes
7answers
10k views

Why does the PING command in my batch file execute in a loop?

I created a .BAT file in Windows 7 that has the following line: PING XXX.XXX.XXX.XXX -t (XXX replaces the actual IP number). However, when I double click on this batch file, I can see the PING ...
5
votes
4answers
29k views

Why does 'ping' returns 'request timed out' for some hosts?

For some hosts, ping www.example.com it resolves their IP but why does it fails with request time out? I have also tried to increase the ping response time but still the same result.
1
vote
1answer
6k views

Write Ping results to a text file

This should be pretty simple but for some reason, my situation is proving to be a bit tricky... I want to save the results of a ping to a text file. To do so, I am using the following command in a ...
0
votes
1answer
6k views

Batch File: Hide Ping test results

I'm making a batch file that tests a Computer name and sees if it responds. However when I run it, even with the "@echo off", I still see the reply being sent and so on. How can I hide that?