system
December 10, 2007, 7:53pm
1
(imported topic written by SystemAdmin)
Hi,
Would someone be able to assist with the following relevance using wildcards? Using the following relevance returns true:
exists files “Exchange.NK2” of folder “C:\Documents and Settings<username>\Application Data\Microsoft\Outlook”
but using the following returns false:
exists find files “*.NK2” of folder “C:\Documents and Settings\fongrob\Application Data\Microsoft\Outlook”
What I am trying to do is to find the existence of any files with the .NK2 extention.
Thanks
leewei
December 10, 2007, 9:32pm
2
(imported comment written by Lee Wei)
You syntax and usage all seems correct.
File names in Windows are not case sensitive, so that is OK.
Might this be a possible scenario?
You run this command in the Relevance Debugger and you got what is expected. However, when you put this in the BES Console and you see a different results? The BigFix Agents on the hosts run as the System account, and not the login user.
Just a thought.
http://support.bigfix.com/cgi-bin/kbdirect.pl?id=338
system
December 10, 2007, 9:32pm
3
(imported comment written by jessewk)
Hi Fongrob,
Your second query works on my machine. Are you sure there is a .NK2 file in your Outlook folder? I have one in there called Outlook.NK2
-Jesse
system
December 10, 2007, 10:19pm
4
(imported comment written by SystemAdmin)
Hi Jesse, Lee,
I do have a Exchange.NK2 file in my outlook folder, but I’m not sure why it’s returning false.
exist find files “*.NK2” of folder “C:\Documents and Settings\fongrob\Application Data\Microsoft\Outlook”
False
exist files “exchange.NK2” of folder “C:\Documents and Settings\fongrob\Application Data\Microsoft\Outlook”
True