Make_Temp_File

See Also: File_Exist, Get_Directory, Make_Directory, Remove_Directory, Set_Directory, Valid_Drive

Purpose

To create a new, empty disk file.

Syntax

Make_Temp_File {temp-extension} {file-name}

where:

What It Does

Make_Temp_File creates a file in the current folder with a unique name, using the specified tempExtension, and returns the unique name that was generated.

Example

In this example, a file is created with the extension tmp and places the generated rootname in the value of String variable sTempFileName.

String sTempFileName

Make_Temp_File "tmp" sTempFileName

Notes