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