PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Temporary directory
  • Equivalence
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the name of directory used to store the temporary files.
Example
// Retrieve the name of temporary directory
ResTempDir = fTempDir()
Syntax
<Result> = fTempDir()
<Result>: Character string
  • Path of directory used to store the temporary files (up to 260 characters). This path ends with the "\" character.
    iPhone/iPad This path corresponds to the "tmp" directory of application.
  • Empty string ("") if an error occurred. To find out the error details, use ErrorInfo associated with the errMessage constant.
Note: The result of fTempDir is always a character string in Ansi format. However, the result can be stored in a Unicode character string.
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.

Equivalence

fTempDir is equivalent to fTempPath.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230std.dll
Windows Mobile wp230std.dll
Java wd230java.jar
Linux wd230std.so
Minimum required version
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment