John Beranek wrote:
> Alexander Kobbevik wrote:
>
>>Thank you, Clayton.
>>
>>Im still open for suggestions how to make it happen on one line though.
>>Running this for a weekend and then trying to analyze the log will give me a
>>headace.
>
>
> I would tend to say that standard windows scripting commands are a bit
> basic, so I knocked up a batch file that uses a few GnuWin32 commands,
> which are ports of GNU tools to windows:
>
> ======================================================================
> @echo off
[snip]

This script will only output anything when a ping fails, and then it'll
output something like:


Request timed out.
Fri Aug 26 13:50:02 GMT Daylight Time 2005


There's a few modifications you could make:

* More pings per run: change the number after the -n in the ping command.

* Hide the "Request timed out." line: add "> nul" to the end of the ping
command

* Ping more/less often: change the number in the sleep command

John.

--
John Beranek                         To generalise is to be an idiot.
http://redux.org.uk/                                 -- William Blake

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds

Reply via email to