Skip to content

dos_tempfile

Dale Fugier edited this page Jul 1, 2026 · 1 revision

Creates a name for a temporary file. The file name is the concatenation of specified path the prefix string "~ac", a hexadecimal string formed from a specified integer, and the .tmp extension.

Syntax

(dos_tempfile)

Returns

A string containing the path of a temporary file if successful.

nil on error.

Example

Command: (dos_tempfile)
"C:\\Documents and Settings\\dale\\Local Settings\\Temp\\~acA04B.tmp"

Command: (dos_tempfile)
"C:\\Documents and Settings\\dale\\Local Settings\\Temp\\~acA3BC.tmp"

Command: (dos_tempfile)
"C:\\Documents and Settings\\dale\\Local Settings\\Temp\\~acA679.tmp"

Clone this wiki locally