Wscript.ScriptFullName

The ScriptFullName property provides the full path to the script being run by the Windows Scripting Host.

Syntax

Wscript.ScriptFullName = strScriptFullName
 

Example

Wscript.ScriptFullName = C:\Users\Default\WSH\Sample.VBS
 

See Also

Wscript.ScriptName property