WScript Object
Property: WScript.Name
WScript.
Name
The
Name
property is read only and returns the name of the
WScript
object (usually "Windows Script Host"). This is the default property of the
WScript
object.
The following VBScript code illustrates the use of this property.
Code:
WScript.Echo "Default property =", WScript
WScript.Echo "Name property =", WScript.Name
Output:
Default property = Windows Script Host
Name property = Windows Script Host
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information