>I seem to recall a function that would return the filename if a a string if given the full path of the file. For example if given "C:\APPS\VFP\TEST.DBF" it would return "TEST.DBF". What is that function? Darned if I can recall.
Michael,
The FOXTOOLS library has several functions that deal with filenames or parts of them. JustFName() returns the filenameand the extension. JustStem() returns just the filename without the extension. JustPath(), the path and there are some others. Check the FOXTOOLS.HLP file for them.
BTW, if I recall correctly from some past threads, some of these functions will be added to the next version of VFP. Dealing with them now can give you a head start.
George
George
Ubi caritas et amor, deus ibi est