PyIShellLink Object

Interface used to access the properties of a shell link file (*.lnk)

Methods

GetPath
Retrieves the path and file name of a shell link object. 

GetIDList
Retrieves the item id list that identifies the target of the shell link. 

SetIDList
Sets the target of the link using an item id list 

GetDescription
Retrieves the description of the link (displays as Comment in the UI) 

SetDescription
Sets the description of the link (displays as Comment in the UI) 

GetWorkingDirectory
Retrieves the working directory for the link 

SetWorkingDirectory
Sets the working directory for the link 

GetArguments
Retrieves the command-line arguments associated with a shell link object. 

SetArguments
Sets the command-line arguments associated with a shell link object. 

GetHotkey
Retrieves the hot key for a shell link object. 

SetHotkey
Sets the hot key for a shell link object. 

GetShowCmd
Retrieves the show (SW_) command for a shell link object. 

SetShowCmd
Sets the show (SW_) command for a shell link object. 

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

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

SetRelativePath
Sets the relative path for a shell link object. 

Resolve
Resolves a shell link 

SetPath
Sets the path and file name of a shell link object.