Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns the name of the directory containing the host executable (CScript.exe or WScript.exe).
Syntax
object.Path
Arguments
- object
WScript object.
Remarks
The Path property is a read-only string.
Legacy Code Example
Description
The following VBScript code echoes the directory where the executable file resides.
WScript.Echo (WScript.Path);