ShellLinkObject object
Manages Shell links. This object makes much of the functionality of the IShellLink interface available to scripting applications.
Members
The ShellLinkObject object has these types of members:
Methods
The ShellLinkObject object has these methods.
| Method | Description |
|---|---|
| GetIconLocation |
Gets the location of the icon assigned to the link. |
| Resolve |
Looks for the target of a Shell link, even if the target has been moved or renamed. |
| Save |
Saves all changes to the link. |
| SetIconLocation |
Sets the location of the icon assigned to the link. |
Properties
The ShellLinkObject object has these properties.
| Property | Access type | Description |
|---|---|---|
| Read/write |
Contains a link's arguments. | |
| Read/write |
Gets or sets the description of the link. | |
| Read/write |
Gets or sets the keyboard shortcut for the link. | |
| Read/write |
Gets or sets the path to the link object. | |
| Read/write |
Gets or sets the initial display state (sized, minimized, or maximized) of the link's command. | |
| Read/write |
Gets or sets the working directory specified in the link. |
Requirements
|
Minimum supported client | Windows 2000 Professional, Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/28/2012