Microsoft® Windows® Script Host Description Property |
WSH Reference Version 1 |
Provides a description of a shortcut object.
object.Description
Part Description object WshShortcut object.
The following example creates a shortcut to the currently executing script:Set WshShell = WScript.CreateObject("WScript.Shell") Set oShellLink = WshShell.CreateShortcut("Current Script.lnk") oShellLink.TargetPath = WScript.ScriptFullName oShellLink.Description = "Currently running script." oShellLink.Save