How to convert long file names to short file names 
Author Message
 How to convert long file names to short file names

Does the Win32API contain a function for converting a long file name to a
8.3 short file name?  Thanks

scott




Thu, 31 May 2001 03:00:00 GMT  
 How to convert long file names to short file names
Hi,Scott:
Declare Function OSGetShortPathName Lib "kernel32" Alias "GetShortPathNameA"
(ByVal lpszLongPath As String, ByVal lpszShortPath As String, ByVal
cchBuffer As Long) As Long

If you need an example, feel free to contact with me.

Hope the above helps!

------
Kcal
NatSteel Singapore

Quote:
>Does the Win32API contain a function for converting a long file name to a
>8.3 short file name?  Thanks

>scott





Fri, 01 Jun 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Converting Long File Names to Short File Names

2. Api function to convert Long File Names To Short Dos File Names

3. Get long file name from short file name

4. Long File Names and Short File Names

5. Get Short File Name from Long File Name?

6. Long file names to short file name

7. Getting short file name from long file name:

8. long file names to short file name

9. Long File Names and Short File Names

10. Short File Name to Long File Name

11. Convert long file names to short

12. Convert Long Folder Names to DOS Short Dir Names

 

 
Powered by phpBB® Forum Software