Create a Text File

Create a new text file and place its file path in a new or existing variable.

This command is often used to create a file that will be later written to using the Write to Text File command.

  1. Enter the name of the variable into which you'd like to place the file path of the new file

  2. Indicate if the should be created:

    • In a folder other than the Windows Temp folder

    • Using a custom file name

    • Using a custom file extension

      • Enter the extension either in the format .xyz or simply xyz (for example, .txt or txt). Do not include an *.

    If you elect not to specify these options, the new file will be created by default in the Windows Temp folder, with a unique file name, and the .tmp file extension.

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

If a file with the same name already exists in the specified location, it will be overwritten by the new file.

Don't forget to clean house!

Despite its name, Windows does not automatically delete files from the Windows Temp folder. From a safety perspective, this is great. But it does mean that your Windows Temp folder could become quite huge (and something of a resource hog) unless you manually clean it out from time to time.