Environment Manager

Home 

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

Delete File Action

Specify a path and file name to delete when a trigger and/or condition is satisfied. For example, this condition could be used to delete a file containing sensitive information, when any user without Administrator rights logs on.

Conditions and File Exclusions can be configured using the appropriate standard tabs.

Create a Delete File Action

  1. Select the Policy Configuration navigation button.
  2. Select a node or condition.
  3. In the Actions ribbon, select File & Folder > Delete File.

    The Delete File dialog displays showing the Select File tab.

  4. Click Add.
  5. In the Source field, use the ellipsis (...) to navigate to the file you want to delete.
  6. If required, select the Force delete checkbox. This ignores the Read-only attribute enabling the file to be deleted. If this option is not selected, read-only files are not deleted.
  7. Repeat steps 3 to 6 to create further actions within the dialog. A separate action is created for each action in the selected node. Highlight an action and click Remove to delete an action from the dialog box.

  8. Complete the optional tabs as required.
    See also Configuring Actions in the Action Management help.
  9. Click OK.

Each action in the dialog is created in the selected node.

Example: Delete a file if it was last accessed more than a year ago

  1. Select the Policy Configuration navigation button.
  2. Select a node or condition.
  3. In the Actions ribbon, select File & Folder > Delete File.

    The Delete File dialog displays showing the Select File tab.

  4. Click Add.
  5. In the Source field, click the ellipsis (...) and navigate to the file you want to delete.
  6. If required, select the Force delete checkbox.

    This ignores the Read-only attribute enabling the file to be deleted. If this option is not selected, read-only files are not deleted.

  7. Select the Condition tab.
  8. Select Use file conditions.

    The condition options in the dialog become active.

  9. In the Property drop-down, select Last Modified Time.
  10. In the When drop-down, select Is Older Than.

    The Date/Time boxes become inactive.

  11. In the Days spinbox, enter a time period in whole days, in this case 365.

    You can enter between 1 - 999 days. You cannot enter fractions of days.

  12. Click OK.

    The action is added to the selected node.

  13. Save the configuration.

Related Topics


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