Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Directory name
Message
From
14/11/2002 16:24:32
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Directory name
Miscellaneous
Thread ID:
00722946
Message ID:
00722946
Views:
45
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
Next
Reply
Map
View

Click here to load this message in the networking platform