I need a kix script to be able to read a couple of environment variables which are only available in the current session of an application therefore are not part of the environment stored in the registry.

I can't see any obvious way of doing this.
Anyone come across and solved this problem.

Thanks