Returns the name of the directory containing the host executable (CScript.exe or WScript.exe).
object.Path
WScript object.
The Path property is a read-only string.
The following VBScript code echoes the directory where the executable file resides.
WScript.Echo (WScript.Path);
WScript Object
Download Home Copyright © 2001-2024 adersοft