Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- NetLib for Clipper, Version 6.0 - n_fspec( <cfilename> ) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_FSPEC( <cFilename> )


Parameters

<cFilename>
Name of a file, including the extension (if any).


Returns

A full filespec (drive: \path\filename.ext). A complete filespec is 
returned even if the file is in the current directory.

If no matching file is found, the function returns a null string.


Description

Searches the Clipper SET PATH and SET DEFAULT for the file specified. 
(Does not search the DOS PATH.)


Example

* Get the full filespec of the currently open database
USE Cust.dbf
cFileSpec = N_FSPEC(N_DBF())
? cFileSpec
F:\APPL\DATA\CUST.DBF



See Also: N_FNAME() N_FPATH()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson