Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I get short path name in VFP?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00711861
Message ID:
00711951
Vues:
8
>Hi, George,
>
>The method you have proposed works only when the file exists. I need to convert the long file name to a short one before it is created.
>
>Thank you again,
>
Dawa,

You're exactly right. What you need is the algorithm that Windows uses to create the short file name. Unfortunately, I don't know it, nor know if there's an API function that can do it. As a result, I'd suggest creating the file first, then create the file. It would seem to be the simplest solution, but I don't know if your code can be modified to work this way.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform