|
|
|
|
|
fLongPath (Function) In french: fCheminLong Returns the full long path of a file or directory.
ResCheminLong = fLongPath("C:\MesRep~1\Compte~1.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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|