Creates a new shortcut, or opens an existing shortcut.
String value indicating the pathname of the shortcut to create.
The CreateShortcut method returns either a WshShortcut object or a WshURLShortcut object. Simply calling the CreateShortcut method does not result in the creation of a shortcut. The shortcut object and changes you may have made to it are stored in memory until you save it to disk with the Save method. To create a shortcut, you must:
Create an instance of a WshShortcut object.
Initialize its properties.
Save it to disk with the Save method.
A common problem is putting arguments in the TargetPath property of the shortcut object, which doesn't work. All arguments to the shortcut must be put in the Arguments property.