Question Locked

Ping Script

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Would anyone be able to help me write a script to ping a machine let's say every 60 seconds, the time frame can be change but I want to accomplish the ping and maybe a dump of the data to a text file.

Thanks

4 replies

by lowlands

simplest way (you'll need the sleep command on the pc runnign this)

Create a cmd file.

:start
ping workstation >> C:\ping.txt
sleep 60
goto :start

pm me if you want a vbscript, I think I have something somewhere on my work pc. Won't get to that until Thursday though

by cg._

Thanks for the help I will try these today, and they should work.

CG

This discussion is closed to new replies.