if

Executes sub-tasks if the condition match

Task properties:

Name Description
File File path+name for file conditions
Negate Set "True" to invert condition results
Arg0 Value 1 for condition
Arg1 Value 2 for condition
Test What to compare. Possible values For set arg0 (and arg1) properties: not set or empty - check that arg0 equals arg1 "empty" - check that arg0 is empty (arg1 is not used) ">" - check that arg0 > arg1 (as strings) ">=" - check that arg0 >= arg1 (as strings) "<" - check that arg0 < arg1 (as strings) "<=" - check that arg0 <= arg1 (as strings) "in" - check that arg1 contains arg0 "has" - check that arg0 contains arg1 For set "file" property not set of "exists" - check that the file exists "read" - file can be read "write" - file can be written "file" - file is a file (not a folder) "folder" - file is a folder "readonly" - file has Readonly attribute set "archive" - file has Archive attribute set