Microsoft® Windows® Script Host
Description Property
WSH Reference
Version 1

Applies To


Description
Provides a description of a shortcut object.
Syntax
object.Description
Parameters
Part Description
object WshShortcut object.
Example
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