This batch file is designed to ping for 1 minute and send the output to a log file. The process then time and date stamps the log and the ping starts again. If there is a connectivity issue it will be clearly visible in the log.
echo %time% >> c:\ping.log
echo %date% >> c:\ping.log
Ping x.x.x.x -n 60 >>c:\ping.log