Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function To Return Filename From Fullpath?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00061582
Message ID:
00061638
Vues:
37
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform