Windows Script Host  

FullName Property (WScript Object)

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

object.FullName 

Arguments

object
WScript object.

Remarks

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

Example

The following JScript code uses the FullName property:

WScript.Echo (WScript.FullName);

produces the following output.

C:\WINNT\System32\cscript.exe

See Also

Path Property | WScript Object | WshShortcut Object | WshUrlShortcut Object