ScriptFullName

Property of IWScript

Description

Returns the full path of the currently running script

Property type

Read-Only Property of type BSTR

Syntax

JavaScript

var sVal = WScript.ScriptFullName;

==== Visual Basic Script ====

sVal = WScript.ScriptFullName

==== C++ ====

BSTR sVal;
HRESULT hr = WScript.get_ScriptFullName(&sVal);

===== See Also ===== IWScript