PyIShellLink.SetIconLocation

SetIconLocation(iconPath, iIcon)

Sets the location (path and index) of the icon for a shell link object.

Parameters

iconPath : string

Path to the file with the icon.

iIcon : int

Index of the icon.