Skip to content

dos_tempdir

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

Retrieves the path of the directory designated for temporary files.

Syntax

(dos_tempdir)

Returns

A string containing the path of the temporary directory if successful.

nil on error.

Example

Command: (dos_tempdir)
"C:\\DOCUME~1\\dale\\LOCALS~1\\Temp\\"

Command: (dos_longpath (dos_tempdir))
"C:\\Documents and Settings\\dale\\Local Settings\\Temp\\"

Clone this wiki locally