Just a short FYI article. Being curious about where NS7 VBScript tasks run, I created a simple script to run the following command, which shows the complete path of the running script:
MsgBox(WScript.ScriptFullName)
Your script seems to have fetched the answer for you. With a few lines of code you can easily change the directory if needed. Good find though, I am sure this will answer several admins questions.