call the .bat-file with cmd /c

greetings

Thomas Both
OD
Edelstahlwerke Buderus AG
Buderusstr. 25, 35576 Wetzlar
Postfach 1449, 35573 Wetzlar
fon +49 6441 374-553
fax +49 6441 374-90553


-----Urspr�ngliche Nachricht-----
Von: Scott Montgomery [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 21. November 2001 14:04
An: [EMAIL PROTECTED]
Betreff: Re: [WhatsUp Forum] Screen saver info


Try these two lines at the end of your batch:

@echo off
cls

----- Original Message -----
From: "Volpi Alessandro" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 21, 2001 3:19 AM
Subject: RE: [WhatsUp Forum] Screen saver info


Hi everyone...
Have you already tried with an "Exit" at the end of the batch file?
Good Luck!

Alessandro Volpi - Technical Account
NetScalibur S.p.A.
Via Caldera 21, 20153 Milano
Tel:      +39 (0)2 4824-2381
Mobile  +39 348 3964092
E-Mail: [EMAIL PROTECTED]


-----Original Message-----
From: Rod Carty [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 21, 2001 1:46 AM
To: [EMAIL PROTECTED]
Subject: Re: [WhatsUp Forum] Screen saver info

Joe;

Thanks for the reply. Your info looks great, and initial testing is
promising. One quirk though is the DOS window stays open after the bat
file is run. I redefined things to go through a pif shortcut, which I
specified was to close the window on exit, but the window still stays
open. Any ideas?

Joe Sepielli wrote:
>
> Rod,
>
> Here is a simple method to write WhatsUp Gold status information
> to a file.  You can then use that file as the input to your
> scrolling marquee application.
>
> - Create a a bat file containing this command:
> echo WhatsUp Gold Status at %1 ... Down Devices:%2, Devices with down
services%3>test.out
> - Create a Program Notification:
>   o Program filename=yourfile.bat
>   o Program arguments=%t %e %A
> - Create a Recurring Notification that calls yourfile.bat.
>
> This exmample uses a few of the following notification variables:
> (see the help file for full details)
> %A      Names of devices with down services  All Notifications
> %e      Down Host Display Names              All Notifications
> %t      Current time (hh:mm:ss)              All Notifications
>
> Joe
>
> In reply to 20 Nov message from [EMAIL PROTECTED]:
>
> >I'm thinking about building a screen saver for one of my customers that
displays simple
> >scrolling marquee-style text and changes color according to WUG's status.
I've looked
> >around for an existing screen saver that could accept some real-time
input like this
> >and found nothing so it looks like I'm building it. I looked through the
registry for
> >WUG, looking for some item there that should indicate current status
similar to the WUG
> >taskbar icon - green, yellow or red - but didn't find anything. Does
someone know of a
> >way for me to hook into WUG realtime?

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

>> I never married because there was no need.  I have three pets at home
which answer the same purpose as a husband.  I have a dog which growls every
morning,  a parrot which swears all afternoon and a cat that comes home late
at night.  --Marie Corelli <<
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/

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/


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/

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