WSH » Objects » WshUrlShortcut

The WshUrlShortcut object is an object that can be returned by the WshShell.CreateShortcut method.

Properties

FullName

Syntax: object.FullName

The FullName property is read only and returns a string which is the full path to the shortcut file.

TargetPath

Syntax: object.TargetPath

The TargetPath property is a string which is the target URL of the WshUrlShortcut object.

Methods

Save

Syntax: object.Save ()

The Save method savesthe shortcut at the location specified by the FullName property. All changes made to a shortcut object will be lost unless this method is called before destroying the object.