--- Vince wrote:
> Yes, the batch file does
> set [EMAIL PROTECTED] show filters | grep "#1"]
> and examines whether %status is empty or not.
Well then, in that case you could do something like this in your batch
file:
:: if %Status% is empty (it's all one line)
If %Status%!==! "C:\Program Files\PowerPro\PowerPro.exe" *Format Item List MainBar
Item 21 IconFile F:\Windows\IPSec\StatusIsEmpty.ico IconNum 1
:: if %Status% is not empty (it's all one line)
If Not %Status%!==! "C:\Program Files\PowerPro\PowerPro.exe" *Format Item List MainBar
Item 21 IconFile F:\Windows\IPSec\StatusIsNotEmpty.ico IconNum 1
You just need to be sure that you have the right path to PowerPro.
All the best,
Alex
ICQ# 37414292
**** EDIT YOUR POSTINGS !!!! ****
Please remove as much as possible from original messages before replying to them.
________________________________________________
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/