Write to Text File

Write the contents of a variable into a new or existing text file.

  1. Enter the full file path and file name of the text file in which to write

    • If the file does not exist, the wizard will create one with the name you entered

  2. Enter the name of the variable whose contents will be written to the file

  3. Choose how to treat any existing text in the file:

    • Add the contents of the variable to the end of the existing text (append text); or

    • Replace the existing text with the contents of the variable (overwrite text)

  4. Instruct the wizard how to handle any errors encountered. Read more about error handling.