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

Applies To


Description
Returns a string containing the friendly name of the WScript object.
Syntax
object.Name
Parameters
Part Description
object WScript object.
Remarks
This is the default property and is read only.

Example
The following example shows two ways to use this property:
WScript.Echo WScript.Name
WScript.Echo WScript