|
-
September 6th, 1999, 03:13 AM
#1
How to get the short name of a directory ?
If I have a directory with long name (e.g. c:\dir_12345678), how can I get its short name c:\dir_12~1 ?
Is there any function to convert the long name to a short name ?
Thanks.
-
September 6th, 1999, 03:35 AM
#2
Re: How to get the short name of a directory ?
Use GetShortPathName API function,
Good luck,
Oleg.
-
September 6th, 1999, 04:20 AM
#3
Re: How to get the short name of a directory ?
I tried GetShortPathName() before but it only works on file (not directory).
Is this true ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|