PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • 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.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
// Récupération du nom du répertoire temporaire
ResRepTemp = 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.
  • Empty string ("") if an error occurred. To find out the name of the error, use the function ErrorInfo with the constant errMessage.
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

If the temporary directory supported by the system does not exist on the current computer, fTempPath 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 is different depending on whether the user has administrator privileges or not.
Versions 21 and later

Equivalence

fTempPath is equivalent to fTempDir.
New in version 21

Equivalence

fTempPath is equivalent to fTempDir.

Equivalence

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