Path
Property of IWScript
Description
Returns the name of the directory containing the host executable
Property type
Read-Only Property of type BSTR
Syntax
JavaScript
var sVal = WScript.Path;
==== Visual Basic Script ====
sVal = WScript.Path
==== C++ ====
BSTR sVal; HRESULT hr = WScript.get_Path(&sVal);
===== See Also ===== IWScript