shell.SHParseDisplayName
(PyIDL, int) = SHParseDisplayName(Name, Attributes
, BindCtx
)
Translates a display name into a shell item identifier
Parameters
Name : str
Display name of a shell item, such as a file pathAttributes : int
Bitmask of shell attributes to retrieve, combination of shellcon.SFGAO_*BindCtx=None : PyIBindCtx
Bind context, can be None
Comments
Accepts keyword args
Requires XP or later
Return Value
Returns the item id list and any requested attribute flags