TScript.Dir

property Dir: string Access mode: R

Description
Script's directory name. It's value is not affected by Sandbox level (See ScriptCore3_config_file)

Example
Script is in C:/soldatserver/scripts/examplescript/ Script.Dir = scripts/examplescript/