Changes
Added date comparison conditions to File check.
'''versiongreaterthan''' - This checks the version of a particular file. If the file is found and the version is greater than the supplied version number, the condition returns true.
</div>
Version 1.3.0 also added conditions for checking file dates:
<div style="margin-left: 30px">
'''datemodifyequalto''' - Modify date equal to
'''datemodifynewerthan''' - Modify date newer than
'''datemodifyolderthan''' - Modify date older than
'''datecreateequalto''' - Create date equal to
'''datecreatenewerthan''' - Create date newer than
'''datecreateolderthan''' - Create date older than
'''dateaccessequalto''' - Access date equal to
'''dateaccessnewerthan''' - Access date newer than
'''dateaccessolderthan''' - Access date older than
</div>
The 'value' attribute has to contain a string in the following format:
Relative timestamp (in minutes):
-100 Means the file timestamp is compared to the timestamp 100
minutes ago.
+50 Means the file timestamp is compared to the timestamp 50
minutes in the future.
Absolute timestamp in ISO 8601 format:
"2007-11-23 22:00" (22:00 local time)
"2007-11-23T22:00" (Both, "T" and space delimiter are allowed)
"2007-11-23 22:00:00" (specifies seconds which default to 0 above)
"2007-11-23 22:00:00.000" (specifies milliseconds which default to 0)
You can specify the timezone as well:
"2007-11-23 22:00+01:00" (22:00 CET)
"2007-11-23 21:00Z" (21:00 UTC/GMT = 22:00 CET)
"2007-11-23 22:00+00:00" (21:00 UTC/GMT = 22:00 CET)
File-Comparison:
Prefix your value with the '@' character in order to point to a file to which the timestamp of the file referred in path is compared.
Examples:
@%SystemRoot%\explorer.exe
@c:\myfile.txt
Special terms:
last-week Check against timestamp of exactly one week ago (7 days).
last-month Check against timestamp of exactly one month ago (30 days).
last-year Check against timestamp of exactly one year ago (365 days).
yesterday Check against timestamp of yesterday (24 hours ago).
Examples: