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.
The Save method saves the URL shortcut file on the hard disk.
set WshShell =
CreateObject("WScript.Shell")
strDesktopPath =
WshShell.SpecialFolders("Desktop")
Set WshUrlShortcut
= WshShell.CreateShortcut(strDesktopPath &
"\devguru.url")
WshUrlShortcut.TargetPath =
"http://www.devguru.com"
WshUrlShortcut.SaveThis VBScript code creates an URL shortcut to the DevGuru web site and saves it on the user's desktop.