Thanks, Andy, I had already decided I had to go to something other than
the bat file, and what you've got here is a good start.

Andy Young wrote:
> 
> Rod,
> 
> Stealing Joe's original syntax, the following Visual Basic Script will do
> the trick (call it test.vbs or somesuch).
> It won't even open a window in the first place.
> 
> Set collArgs = Wscript.Arguments
> Set fso = CreateObject("Scripting.FileSystemObject")
> Set f1 = fso.CreateTextFile("c:\output.txt", True)
> 
> f1.WriteLine "WhatsUp Gold Status at " & collArgs(0) & " ... Down Devices: "
> & collArgs(1) & " , Devices with down services " & collArgs(2)
> f1.Close
> 
> Hope that helps,
> 
> Andy Young
> Design Systems Administrator.
> BBC Resources Ltd.
> 
> *       Work:    020 8225 8388
> *       Fax:        020 8576 1639
> *       Room 3501, Stage 5, Television Centre, Wood Lane, London, W12 7RJ
> *       mailto:[EMAIL PROTECTED]
>  *      http://www.bbcresources.com

-- 
Rod C--
Enterprise Network Consulting
Whitehorse, Yukon
http://www.enc.yk.net/
http://www.geocities.com/rodcarty/

>> Of all the things I have lost, it's my mind I miss the most. <<
The preceding humor inserted by QuipSig
http://www.enc.yk.net/quipsig/
4,000 quip repertory!

Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/

Reply via email to