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
Arguments
Read/write
Contains a link's arguments.
Description
Read/write
Gets or sets the description of the link.
Hotkey
Read/write
Gets or sets the keyboard shortcut for the link.
Path
Read/write
Gets or sets the path to the link object.
ShowCommand
Read/write
Gets or sets the initial display state (sized, minimized, or maximized) of the link's command.
WorkingDirectory
Read/write
Gets or sets the working directory specified in the link.

 

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Shldisp.h
IDL
Shldisp.idl
DLL
Shell32.dll (version 5.0 or later)

See also

Shell Links