Hi.

I've come across a script which suits my purpose very well. it returns
the status of whether a host is available (pingable) written by Mike
Salsbury

see here: http://mikesalsbury.com/mambo/content/view/548/

I'm trying to have the output appended to a text file and looped to
repeat every 30 seconds

thanks

Re: Trying to append script results to a text file by Paul

Paul
Fri Feb 29 09:31:54 CST 2008


"newbie123" <george.brunetti@gmail.com> wrote in message
news:f6df5efb-af07-4de1-b40b-5b0ec45b6429@u10g2000prn.googlegroups.com...
> Hi.
>
> I've come across a script which suits my purpose very well. it
> returns
> the status of whether a host is available (pingable) written by Mike
> Salsbury
>
> see here: http://mikesalsbury.com/mambo/content/view/548/
>
> I'm trying to have the output appended to a text file and looped to
> repeat every 30 seconds


Alex Angelopoulos posted a subroutine named fAppend many years ago,
and it has been reposted many times. It opens a text file, appends
some text, and closes the file, so others can access the file in
between writes. Do a groups.google.com search for the word fAppend in
the microsoft.public.scripting.vbscript newsgroup.

-Paul Randall



RE: Trying to append script results to a text file by Wiseman82

Wiseman82
Sun Mar 02 07:39:00 CST 2008

http://www.wisesoft.co.uk/Scripts/display_script.aspx?id=40

Hope this helps.
--
http://www.wisesoft.co.uk


"newbie123" wrote:

> Hi.
>
> I've come across a script which suits my purpose very well. it returns
> the status of whether a host is available (pingable) written by Mike
> Salsbury
>
> see here: http://mikesalsbury.com/mambo/content/view/548/
>
> I'm trying to have the output appended to a text file and looped to
> repeat every 30 seconds
>
> thanks
>
>