Create date of file is

(imported topic written by donald__small91)

I need help creating a relevance that will check the create date of a file. I have the following, but it is reporting an error in the relevance debugger:

exists (creation time of file “C:\Program Files\Common Files\McAfee\Engine\extra.dat”) is time (“Wed, 21 Apr 2010 12:00:00” & local time zone as string)

Any help is appreciated.

THANKS!

(imported comment written by cstoneba)

try this,

creation time of file “C:\Program Files\Common Files\McAfee\Engine\extra.dat” as string contains “Wed, 21 Apr 2010 12:00:00”

(imported comment written by jessewk)

you probably want to compare as time objects instead of strings. This will properly account for different time zones:

creation time of file “C:\Program Files\Common Files\McAfee\Engine\extra.dat” = (“Wed, 21 Apr 2010 12:00:00” & local time zone as string) as time

I’m guessing you probably don’t want to use an exact time. Btw, are you trying to address this issue?

http://forum.bigfix.com/viewtopic.php?pid=20581

(imported comment written by donald__small91)

Yes! I think we were luckier than a lot of companies and were able to nip it in the bud pretty darn quick, with little user impact. I wanted to use BigFix to verify that the new EXTRA.DAT file that we pushed out with ePO got installed and then address those that it din’t This was a big help in doing so. Thank you!!!