pythoncom.CreateFileMoniker

PyIMoniker = CreateFileMoniker(filename)

Creates a new PyIMoniker object.

Parameters

filename : string

The name of the file.