FullName Property (WScript Object)

 

Returns the fully qualified path of the host executable (CScript.exe or WScript.exe).

object.FullName 

object

WScript object.

The FullName property is a read-only string representing the fully qualified path of the host executable.

Legacy Code Example

The following JScript code uses the FullName property:

WScript.Echo (WScript.FullName);

produces the following output.

C:\WINNT\System32\cscript.exe
Show: