Information générale
Catégorie:
Codage, syntaxe et commandes
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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement