ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / External file functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the full long path of a file or directory.
// Récupération du chemin long d'un fichier
ResCheminLong = fLongPath("C:\MesRep~1\Compte~1.doc")
// fCheminLong renvoie "C:\MesRépertoires\Compte-Rendu Mars 2000.doc"
Syntax
<Result> = fLongPath(<File path> [, <Option>])
<Result>: Character string
  • Long name corresponding to the full path of the file or directory. If <File path> ends with the "\" character, this character is kept.
  • Empty string ("") if an error occurred (for instance, if the specified file or directory does not exist). To get more details on the error, use ErrorInfo with the errMessage constant.
<File path>: Character string
Name and full (or relative) path of the file or directory (up to 260 characters). A UNC path can be used.
This parameter can be in Ansi or Unicode format.
<Option>: Integer constant
Used to specify the format of function result.
fUnicodePath<Result> will be a Unicode string.

Note: If the constant fCheminUnicode is not specified and if the function must return a Unicode string, <Result> will correspond to the short path of the file.
Component: wd300std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help