JCL Help:GetWindowsTempFolder

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the Windows temp folder.


Pascal

 function GetWindowsTempFolder: string;


Return Value

The Windows folder designated for temporary files.


Description

The GetWindowsTempFolder function retrieves the path of the directory designated for temporary files. Normally this is the folder specified by the TMP or TEMP environment variable. If TMP and TEMP do not exist then for Windows 95/98 the result is the current directory and for Windows NT/2000 the result is the Windows directory.


About

Unit

JclSysInfo


Donator

Nick Hodges


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page