General information
Category:
Windows API functions
Title:
How to retrieve DOS name (8.3) for a file
Hi,
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only