ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / External file functions
  • Temporary directory
  • Equivalence
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the name of directory used to store the temporary files.
// Retrieve the name of temporary directory
ResTempDir = fTempPath()
Syntax
<Result> = fTempPath()
<Result>: Character string
  • Path of directory used to store the temporary files (up to 260 characters). This path ends with the "\" character.
    iPhone/iPadIOS WidgetMac Catalyst This path corresponds to the "tmp" directory of application.
  • Empty string ("") if an error occurred. To get more details on the error, use ErrorInfo with the errMessage constant.
Remark: The result of fTempPath is always a character string in Ansi format. However, the result can be stored in a Unicode character string.
Remarks

Temporary directory

In Windows Vista (and later), when the UAC system is enabled, the temporary directory is different depending on whether the user has administrator privileges or not.

Equivalence

fTempPath and fTempDir are equivalent.
Component: wd290std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 08/22/2022

Send a report | Local help