Here it is: A small script that pings computer with Time Stamp:
echo %time% > c:\PingServer.txt
Ping 126.96.36.199 >> C:\PingServer.txt
Note the “>>” in above redirector. This redirector enables you to append the file rather than overwrite it.
Will sought more on this if time permits 🙂