Is there a way to make this work? I am using Active 8.5.8.1 (free
version) on Windows XP.
Thanks.
Tom
That is not a Tcl limitation -- it is how the world works.
On Windows you may be able to do something with TWAPI to set the environment
variable for other processes.
Also you can use the registry to set system wide environment variables that
processes will pick up when they start up.
--
+------------------------------------------------------------------------+
| Gerald W. Lester, President, KNG Consulting LLC |
| Email: Gerald...@kng-consulting.net |
+------------------------------------------------------------------------+
It sets the environment variable in the called process (the .bat) and
all its subprocesses. It does not affect the environment of the
desktop, or the environment which you get initially after login.
On Windows, the environment for the current user is stored in the
registry. In order for a running process to permanently change the
environment, change the value in the registry:
http://support.microsoft.com/kb/104011/en-us
HTH
R'