Microsoft® Windows® Script Host
Path Property
WSH Reference
Version 1

See Also                      Applies To


Description
Provides a string containing the name of the directory where WScript.exe or CScript.exe resides.
Syntax
object.Path
Parameters
Part Description
object WScript object.
Example
The following example echoes the directory where the executable file resides:
WScript.Echo WScript.Path