scripting:api:wscript:name

Name

Property of IWScript

Returns the fully qualified path of the host executable

Read-Only Property of type BSTR

var sVal = WScript.Name;

==== Visual Basic Script ====

sVal = WScript.Name

==== C++ ====

BSTR sVal;
HRESULT hr = WScript.get_Name(&sVal);

===== See Also ===== IWScript