Engine.CreateTempFile ( baseName, extension, directory)
The pathname of the temporary file.
Creates a unique temporary file with a specific basename and extension.
When TestStand shuts down, it automatically deletes the temporary file.
baseName As String
[In] Specifies the base name of the temporary file. If necessary, TestStand adds other characters to the name to make it unique.
extension As String
[In] Specifies the file extension for the temporary file.
directory As String
[In] Specifies the directory in which to store the temporary file. You can include a trailing backslash, but it is not required. Pass an empty string to use the TestStand subdirectory in the directory specified by the TEMP environment variable, which by default is %USERPROFILE%\Local Settings\Temp.