Property:  WshUrlShortcut.TargetPath

WshUrlShortcut.TargetPath

The TargetPath property is a string that is the target URL which the WshUrlShortcut object points to.

The following VBscript code sets the target URL of a WshUrlShortcut object to the Pleasant.ch web site.

Code:
WshUrlShortcut.TargetPath = "http://www.pleasant.ch"