WScript.ScriptFullName (Property)

The full path and script name.


JScript - 3.0
Property/method value type:String primitive
JavaScript syntax:WSHmyName = WScript.ScriptFullName

With this property, you can dismantle the path to the file and generate relative paths that locate temporary files adjacent to the script that is being executed. If the script is moved, the relative locations move with it.

See also:WScript.FullName