[This is preliminary documentation and subject to change.]
The ScriptName property provides the file name of the script being run by the Windows Scripting Host.
Wscript.ScriptName = strScriptName
Wscript.ScriptName = Sample.VBS
Wscript.ScriptFullName property
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.