Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to retrieve DOS name (8.3) for a file
Message
From
17/09/1999 15:16:28
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00266130
Message ID:
00266136
Views:
19
>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.

Thanks Evan that's great! I did a search on the UT earlier and wasn't able to find anything.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform