You can use the variables CurrentScriptName and CurrentScriptPath. The following code returns the file path and name of the VBScript.
dim Spath : Spath = CurrentScriptPath
dim Sname : Sname = CurrentScriptName
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.