WScript.Path (Property)

The path to the activating WSH executive.

Availability:

JScript - 3.0
Property/method value type:String primitive
JavaScript syntax:WSHmyPath = WScript.Path

This property yields a string that describes which, of several, WSH run-time environments is used.