
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