Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File Name from File Handle?
Message
De
26/03/2002 11:21:33
Jonathan Cochran
Alion Science and Technology
Maryland, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00637260
Message ID:
00637302
Vues:
16
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
Fil
Voir

Click here to load this message in the networking platform