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
All Properties
Method: WshShortcut.Save
object.
Save
The
Save
method saves the 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 following JScript code creates a new shortcut called "test.lnk" and saves it in the temp directory.
Code:
objShell = WScript.CreateObject("WScript.Shell")
objShtCut = objShell.CreateShortcut("C:\temp\test.lnk")
objShtCut.Save()
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information