Select the product you need help with
How To Get a Short Filename from a Long FilenameArticle ID: 175512 - View products that this article applies to. This article was previously published under Q175512 On This PageSUMMARY
Under certain circumstances, it may be necessary to get the Short Filename
equivalent of a file that has a Long Filename. The example below will allow
you to select a file that has a Long Filename and return it's Short
Filename using the GetShortPathName API Function call.
MORE INFORMATION
The following code example includes a function that will convert long
filenames into their short filename equivalents and also includes a simple
demonstration of the function's use.
Step-by-Step Example
REFERENCES
For additional information, please see the following article in the
Microsoft Knowledge Base:
154822
(http://support.microsoft.com/kb/154822/EN-US/
)
How To Get a Long Filename from a Short Filename
PropertiesArticle ID: 175512 - Last Review: March 11, 2005 - Revision: 3.2 APPLIES TO
| Article Translations |


Back to the top








