How To Get a Short File Name from a Long File Name (192827)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q192827 SUMMARY
Occasionally, it is convenient to be able to convert a Win32 long file name
to a Win16-style (8.3 format) short file name. For example, file names may
need to be stored in a table that is shared by both Visual FoxPro and
FoxPro for Windows.
This information is stored in the Win32 file system, and can be looked up
using the GetShortPathName function.
REFERENCES
For additional information, please see the following article in the
Microsoft Knowledge Base:
175512 How To Get a Short Filename from a Long Filename
Modification Type: | Minor | Last Reviewed: | 6/30/2004 |
---|
Keywords: | kbhowto KB192827 |
---|
|