====== Path ====== Property of [[:scripting:api:wscript:start|IWScript]] ===== Description ===== Returns the name of the directory containing the host executable ===== Property type ===== Read-Only Property of type **[[scripting:api:data-type:BSTR|BSTR]]** ===== Syntax ===== ==== JavaScript ==== var sVal = WScript.Path; ==== Visual Basic Script ==== sVal = WScript.Path ==== C++ ==== BSTR sVal; HRESULT hr = WScript.get_Path(&sVal); ===== See Also ===== [[:scripting:api:wscript:start|IWScript]] ~~NOTOC~~