FullName Property (WScript Object)

 

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

Syntax

object.FullName 

Arguments

  • object
    WScript object.

Remarks

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

Applies To:

WScript Object

See Also

Path Property (Windows Script Host)
WshShortcut Object
WshUrlShortcut Object