Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project











Method:  WshUrlShortcut.Save

WshUrlShortcut.Save ()

The Save method saves the URL shortcut file on the hard disk.

The following VBScript code creates an URL shortcut to the DevGuru web site and saves it on the user's desktop.

Code:
set WshShell = CreateObject("WScript.Shell")
strDesktopPath = WshShell.SpecialFolders("Desktop")

Set WshUrlShortcut = WshShell.CreateShortcut(strDesktopPath & "\devguru.url")
WshUrlShortcut.TargetPath = "http://www.devguru.com"
WshUrlShortcut.Save



 


Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information