Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width600px

This action allows you to check for the existence of a specific file or folder.

You can choose to fail the action if the file or folder exists, or if the file or folder is missing, or not to fail at all. You can also choose a variable to set. Its value will be set to "True" if the file or folder exists, or "False" otherwise.

When using the Do not fail option, you should specify a variable to hold the result of the file check.

Column
width300px
Panel
borderColor#D8D8D8
bgColor#FFFFFF
titleColor#FFFFFF
titleBGColor#006396
borderWidth1
titleOn this page:
borderStylesolid

Table of Contents
maxLevel3
minLevel2
printablefalse
 

Column

 

Details

Options

File spec or folder name

Specify the file spec, or folder name to test. 

Fileset

Specify the group of files/folders to check through the use of a FileSet.

Fail action if 

File or folder is missing

Specify this option to check if the file/folder is missing. If the file/folder is missing, the action will fail. 

File or folder exists 

Specify this option to check if the file/folder exists. If the file/folder exists, the action will fail. 

Do not fail

Specify this option to make the action no longer fail. This is useful when setting a variable with the result of the file/folder existence. 

Set variable

Specify the variable to set with the result of whether the file exists or not. If the variable is not specified then testing for previous action failure is the only other way to perform action conditional on the files existence. 

Examples

File must be present

...