WScript Object
Path Property
ScriptFullName Property
ScriptName Property
Property: WScript.FullName
WScript.
FullName
The
FullName
property returns the full path and filename to the host executable file (cscript or wscript). This property is read only.
The following JScript code illustrates the use of this property under WSH 2.0 on a Windows 2000 system.
Code:
WScript.Echo("FullName =", WScript.FullName)
Output:
FullName = C:\WINNT\system32\cscript.exe
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information