Microsoft® Windows® Script Host ScriptFullName Property |
WSH Reference Version 1 |
Provides the full path to the script currently being run.
object.ScriptFullName
Part Description object WScript object.
This example echoes the full path of the executing script:WScript.Echo WScript.ScriptFullName