propsys.PSLookupPropertyHandlerCLSID

PyIID = PSLookupPropertyHandlerCLSID(FilePath)

Returns the GUID of the property handler for a file

Parameters

FilePath : str

Name of file

Comments

If no handler is found, the returned error code can be deceptive as it seems to indicate that the file itself was not found