char szShortPathname[_MAX_PATH]; SHFILEINFO sfi; SHGetFileInfo(szShortPathname, 0, &sfi, sizeof(sfi), SHGFI_DISPLAYNAME);