|Download Help (Windows Only)|
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 the TEMP environment variable specifies, which by default is %USERPROFILE%\AppData\Local\Temp on Windows 8.1/8/7/Vista and %USERPROFILE%\Local Settings\Temp on Microsoft Windows XP.