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