Condividi tramite


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

Applies To:

WScript Object

See Also

Reference

Path Property (Windows Script Host)

WshShortcut Object

WshUrlShortcut Object