[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
+---------------------------------+
| FULLPATH |
+---------------------------------+
FULLPATH(<file name1>
[, <expN> | <file name2>])
-----------------------------------
Returns fully-qualified DOS path for file.
Return value - Character
-----------------------------------
FULLPATH() returns the fully qualified DOS path for a file or the full
path relative to another.
FULLPATH(), when used with SYS(2014), can be used to make applications
portable. That is, given the location of the current program and the
location of other files used by the program, FULLPATH() and SYS(2014)
are used to obtain the proper paths of these files. Once the files'
paths are determined, the files can be accessed by the program.
<file name1>
Name of file. The FoxPro path is searched for <file name1>. Be sure to
include the file's extension (if any). If the file is located along the
FoxPro path, the fully qualified path for the file is returned with the
file name. The FoxPro path can be set with SET PATH.
If the file cannot be found along the FoxPro path, a fully qualified
path and the file name is returned as if the file was found in the
current default directory. The default directory can be specified with
SET DEFAULT.
<expN>
Specifies that FULLPATH() search DOS path before searching FoxPro path.
<expN> may have any value.
<file name2>
Optional name of second file. If <file name2> is specified, FULLPATH()
returns the fully qualified path for <file name1> relative to <file
name2>.
----------------------------------
See Also: DBF(), NDX(), SET DEFAULT, SET PATH, SYS(2014) Minimum path
-----------------------------------
See Also:
DBF()
NDX()
SET DEFAULT
SET PATH
SYS(2014) Minimum path
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson