Microsoft® Windows® Script Host Path Property |
WSH Reference Version 1 |
Provides a string containing the name of the directory where WScript.exe or CScript.exe resides.
object.Path
Part Description object WScript object.
The following example echoes the directory where the executable file resides:WScript.Echo WScript.Path