General information
Category:
Coding, syntax & commands
It displays the full path on my PC, but only if there is enough room. There is only a small amount of space reserved for the file name, so this won't work.
Since this displays the file name, FoxPro obviously has the information, but I guess there might not be any exposed method to retrieve it programmatically.
Thanks,
Jonathan
>Jonathan,
>
>You can parse the output of LIST STATUS TO FILE. But it doesn't look like you are going to get a fullpath() out of it. It only displays drive letter and filename.
>
>>Is there any way to get the full path and file name of the file referenced with a file handle created via FOPEN() or FCREATE()? I want to do some error trapping, and would rather be able to programmatically get the file name than having to pass it along to sub-procedures.
Previous
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