WSH » WScript » FullName

Syntax:
WScript.FullName

The FullName property returns the full path to the host executable file (cscript or wscript). This property is read only.

Examples

Code:
WScript.Echo("FullName =", WScript.FullName)
Output:
FullName = C:\WINNT\system32\cscript.exe
Explanation:

This JScript code illustrates the use of this property under WSH 2.0 on a Windows 2000 system.

Language(s): JavaScript

See Also: