WshShortcut Object

This object is not exposed directly. To get the WshShortcut object, use the WshShell.CreateShortcut method.

ProgID N/A
File name WSHom.Ocx
CLSID F935DC28-1CF0-11d0-ADB9-00C04FD58A0B
IID F935DC27-1CF0-11d0-ADB9-00C04FD58A0B

The following table describes the properties associated with the WshShortcut object.

Property Description
Arguments Parameters to a shortcut object.
Description A description of a shortcut object.
Hotkey The hot key of a shortcut object.
IconLocation The icon location of a shortcut object.
TargetPath The target path of a shortcut object.
WindowStyle The window style of a shortcut object.
WorkingDirectory The working directory of a shortcut object.

The following table describes the method associated with the WshShortcut object.

Method Description
Save Saves a shortcut into a specified file system.