General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only