Name Property (WScript Object)
Returns the name of the WScript object (the host executable file).
object.Name
Arguments
- object
WScript object.
Remarks
The Name property is a read-only string.
Applies To:
Example
The following JScript code shows how to use the Name property.
WScript.Echo (WScript.Name);