MSDN Library

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.

The following JScript code uses the FullName property:

WScript.Echo (WScript.FullName);

produces the following output.

C:\WINNT\System32\cscript.exe

Applies To:

Community Additions

Show:
© 2016 Microsoft