<if_dir> Directory (folder) - related condition.

Command Tree: | Macro Flow Control \ If-Else \ If Directory
. |
Syntax: | <if_dir>("Directory", "Condition", "Reserved")
Directory | Full path to the directory to check against the Condition.
Condition | Condition can be one from the following: "EXIST" - the <if_dir> statement is true if the directory exist. "NOTEXIST" - the <if_dir> statement is true if the directory does not exist.
Reserved | Must be empty string.
. |
. |
Example: | <#> This macro shows how to use if-dir condition <#> <commands_only_on> <if_dir>("c:\windows","EXIST","") <msg>(100,100,"'c:\windows' exist.","Message",1) <else> <msg>(100,100,"'c:\windows' NOT exist.","Message",1) <endif>