BTW, if you haven't found it already, there are two ways to pass the path to the script.
  1. Set an environment variable and use it directly in the script.
  2. Pass it explicitly on the command line e.g. "kix32.exe $sPath=c:\foo\bar\London\file.txt myscript.kix"