Returns the name of directory used to store the temporary files.
// Retrieve the name of temporary directory
ResTempDir = fTempDir()
Remarks
Temporary directory
If the temporary directory supported by the system does not exist on the current computer, fTempDir returns:
- in Windows 98 or Me: the current directory on the computer.
- in Windows 2000, NT or CE: the name of the default temporary directory supported by the system. No test is run regarding the existence of the temporary directory.
Caution: In Windows Vista and later (when the
UAC system is enabled), the temporary directory used depends on whether the administrator privileges have been granted to the user or not.