Description |
Causes the steps following this action to execute if the specified folder is in the specified state. If not, execution follows the next Else or End If action, whichever comes first. Wildcards can be used. To check if a folder exists (or not) and take conditional action depending on the result. |
Declaration |
<AMIFFOLDEREXISTS ACTION="text [options]" FOLDER="text" EXCLUDE="text" ISNEWERTHAN="datetime" ISOLDERTHAN="datetime" ATTRFILTER="text [attribute mask]"> </AMIF> |
Examples |
<AMIFFOLDEREXISTS SOURCE="c:\foldername"> |
General Tab Parameters |
If Folder exists/Folder does not exist: Specifies the type of check to perform:
Text, Optional Default: exist) Folder name: Specifies the folder to check. Text, Required |
Advanced Tab |
Exclude Mask: Causes the action to not compress files matching the mask(s) specified. Filenames or wildcard ( e.g. * or ? ) masks may be used, multiple entries may be specified by separating them with the | symbol (e.g. *.txt|*.bak) Text, Optional default - (blank) Only if newer than: Causes the action to only compress files if the source is newer than the date/time specified. If parameter is left blank or not included, the date of the files will be ignored (excluding "Only if newer" [ISNEWER] parameter). date, Optional default - (none) MARKUP: ISNEWERTHAN="%DateSerial(2001,10,12) + TimeSerial(00,00,00)%" Only if older than: Causes the action to only compress files if the source is older than the date/time specified. If parameter is left blank or not included, the date of the files will be ignored (excluding "Only if newer" [ISNEWER] parameter). date, Optional default - (none) Click Custom to select from other time options (Last 30 seconds, Last 30 minutes, Last 24 hours, Last 30 Days, Last 12 Months, Last 5 Years, Next 30 Seconds, Next 30 Minutes, Next 24 Hours, Next 30 Days, Next 12 Months, Next 5 Years). A expression appears in the text box (e.g., %DateAdd( "s", -30, CStr( Now() ))%) and the Expression check box is selected. You can also click the Expression Builder icon to build a custom expression. |
Attributes Tab |
Attributes: This group of settings causes the action to filter which files are checked based on the attribute settings of the source files. In visual mode, a group of controls is provided to assist in the selection of this parameter. In markup mode, a single text item must be specified that contains the attributes of the files you wish to check. The available options are:
Text, Optional (blank) |
See Also |