Property of IWScript
Returns the file name of the currently running script
Read-Only Property of type BSTR
var sVal = WScript.ScriptName;
==== Visual Basic Script ====
sVal = WScript.ScriptName
==== C++ ====
BSTR sVal; HRESULT hr = WScript.get_ScriptName(&sVal);
===== See Also ===== IWScript