The Script.Dir property returns the directory containing the root APG script.
VBScript:
JScript:
See Script.Filename.
Script Object