[Files] Write

This module takes an input string parameter and writes it to a file. This is often ideal to use in combination with modules like [Shell] Command Line or the [Shell] PowerShell Command.

The parameters are:

Parameter I/O Description
TextValue In Incoming text to be written to a file.
FilePath In The fully qualified path for the file you want to write to.
OutputFileMode In Replace: If the file already exists, replace it with a new version.
Append: If the file already exists, append new text to the end of it.
AddToText In This option tells the module what you would like to add to the output. It is especially useful for Append mode, but can be applied to Replace mode as well:
Nothing: Leave the output exactly as it is.
OneTrailingNewLine: Place one newline at the end of the output. Trailing newlines will be trimmed from the output beforehand, so there will be exactly one trailing newline.
TwoTrailingNewLines: Place two newlines at the end of the output. Trailing newlines will be trimmed from the output beforehand, so there will be exactly two trailing newlines.
TimestampedHeaderWithTwoTrailingNewLines: Add a time-stamped header before the output, plus exactly two trailing newlines. This is useful for Append mode to provide a date & time context to each output instance.