FPathName Function | |
Return the name and path of the file that was used by File().
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax FUNCTION FPathName() AS STRING
public static string FPathName()
Request Example
View SourceReturn Value
Type:
String
The complete name, including path, of the file that was last used by File(). Note that the system might also use File() internally.
Remarks Examples
This example uses FPathName() after calling File:
1SetDefault("\vo")
2? File("*.exe")
3? FPathName()
4? File("d:\backup\notexist.txt")
5? FPathName()
6SetDefault("c:\backup")
7File("exists.txt")
8? FPathName()
9SetDefault("c:\vo\data")
See Also