Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function To Return Filename From Fullpath?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00061582
Message ID:
00061638
Views:
42
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform