Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to retrieve DOS name (8.3) for a file
Message
 
À
17/09/1999 15:10:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00266130
Message ID:
00266132
Vues:
25
Check out faq#78130

>I trying to find a way to retrieve the short form (8.3) for a specified file or a path, e.g.: Returns "c:\Progra~1\Testfi~1" for the file "c:\Program Files\Test File.txt".
>
>I checked out the Microsoft site and found a function in the Windows SDK called "Interrupt 21h function 7160h Minor Code 1h" which does just that. There must be a way for VFP to access this through the windows API.
>
>Anyone have any ideas? The foxtools function VALIDPATH() does not work in Windows95/98.
>
>
>Thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform