Environment Manager

Home 

This page refers to an older version of the product.
View the current version of the User Help.

File and Folder Conditions

File and Folder conditions check whether or not specific files and folders exist on managed endpoints before applying the associated actions. In addition to a search for the existence of files, a condition can be set up to apply actions if a text file contains specific text.

Condition Description Computer Trigger User Trigger
File Exists A condition which checks whether a file does or does not exist on managed endpoints based on the name and location of the file, the date the file was created, modified or accessed and its size Yes Yes
Text File Search A condition which searches for files on managed endpoints which do or do not contain a specified text string. Set the file location and enter the text to search the file for. The Text File Search condition supports searching for both expanded and unexpanded environment variables. On upgrade, single % environment variables are replaced by double % environment variables, for example, %UserName% is changed to %%UserName%% following an upgrade. This ensures existing behavior is maintained following an upgrade. Yes Yes
Folder Exists A condition which checks whether a folder does or does not exist on managed endpoints based on the name and location of the folder, the date the folder was created, modified or accessed and its size. Yes Yes

Create a File or Folder Exists Condition

  1. In the Policy Configuration navigation tree, select the node or trigger to which you want to add the condition. This can be:
    • A new node
    • An existing node
    • The Environment tab of a trigger
  2. On the Conditions tab, select File & Folder > File Exist or Folder Exists to display the corresponding dialog.
  3. Complete the following fields:
    • Condition - Select Exists or Does Not Exist.
    • File or Folder - Browse to the required file or folder or manually enter the path and file or folder name.
    • Date - Select the checkbox and define the date criteria for the file or folder.
    • Size - Select the checkbox and define the size criteria for the file or folder.
  4. Click OK to save the condition.

Create a Text File Search Condition

  1. In the Policy Configuration navigation tree, select the node or trigger to which you want to add the condition. This can be:
    • A new node
    • An existing node
    • The Environment tab of a trigger
  2. On the Conditions tab, select File & Folder > Text File Search to display the Text File Search dialog.
  3. Complete the following fields:
    • File - Browse to the required text file or folder or manually enter the path and file name.
    • Condition - Select whether the condition will look for the existence or absence of the text.
    • Text - Enter the text for the condition to evaluate against.
  4. Select the required checkboxes:
    • Match Case - To match the condition, the text must have the same capitalization.
    • Use Regular Expressions - Regular expressions can be used in the Text field.
  5. Click OK to save the condition.

Related Topics


This page refers to an older version of the product.
View the current version of the User Help.