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