Pingtest

Short script to see if you can ping an i.p. address on a continuous basis
 * BEGIN

@FOR /F "tokens=3* delims=: " %%G in ('ping -n 1 192.168.1.1 ^| find "Reply"') DO >>icms_ping_log.txt echo %date% %time% %%G,%%H

@ping 127.0.0.1 -n 5 > NUL @goto BEGIN