win32api.GetShortPathName
string = GetShortPathName(path)
Obtains the short path form of the specified path.
Parameters
Comments
The short path name is an 8.3 compatible file name. As the input path does not need to be absolute, the returned name may be longer than the input path.
Win32 API References