Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Directory name
Message
De
14/11/2002 16:24:32
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Directory name
Divers
Thread ID:
00722946
Message ID:
00722946
Vues:
46
How Can I get the fullpath where is located a file
My routine is like this:

&& begin
LcFilex = getfile(‘dbf’’)
LcDirectory=fullpath(LcFilex)
? LcDirectory
&& End

&& This Display the fullpath name of the file, but I just need to obtain the
&& directory name, not including the file name, this return something like this:

f:\myapplic\data\tablex.dbf

I just need to obtain this: f:\myapplic\data

How can I do ?

Thanks in advance
Carlos Burgos
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform