I had an idea for a program that would periodically test all of my monitor-less DC nodes. This would be particularly helpful for one of them because it has a bad power supply and dies after a week or two... 
Anyway, it's a ping test that would run every half hour or so and I need help with syntax.
ping 192.168.0.149 > pingtest.txt
[insert code that would search for the word "timed" to see if the ping timed out]
net send hurricane 192.168.0.149 has failed (sends an NT popup message to myself, that the node has failed)
Another dumb question, what's the character used to place comments in a batch file?
Thanks for the help!
Atx
Anyway, it's a ping test that would run every half hour or so and I need help with syntax.
ping 192.168.0.149 > pingtest.txt
[insert code that would search for the word "timed" to see if the ping timed out]
net send hurricane 192.168.0.149 has failed (sends an NT popup message to myself, that the node has failed)
Another dumb question, what's the character used to place comments in a batch file?
Thanks for the help!
Atx
