Create Text File Action
When triggered, this action creates a text file at a specified location. This could be any type of plain text file such as LOG, CSV, TXT or JS.
- In the Policy Configuration navigation tree, select or create a node or condition.
- In the Actions ribbon, select File & Folder > Create Text File.
- In the File field, enter the required path and filename or use the ellipsis (...) to navigate to the text file to create on managed endpoints. If the path does not already exist on an endpoint, it will be created.
- Apply the required
behavior if the file already exists on an endpoint:
- Fail if file already exists - The action fails and the existing file remains on endpoints. A fail event is reported to any configured log. If the option is not selected, the action fails but does not record an error.
- Overwrite existing file - The existing file is replaced by the file defined in this action.
- In the Editor field, enter any text or script to populate the file with.
- Select the file attributes
to apply to the created file:
- Select the required
character encoding for the file:
- Unicode (UTF-16)
- Complete the optional tabs as required.
See also Configuring Actions in the Action Management help.
- Click OK to create the action.