Environment variables.

Courageous jkraska at san.rr.com
Fri Mar 22 21:50:15 EST 2002


>The only way to set environment variables so they persist is by
>attacking the registry but then the new values don't get used until
>you start a new command prompt window.

This is true. Of command prompts. Note, however, that under Windows/NT
variants (NT, 2000, XP) changes to environment variables can and are
propagated through to the Explorer. So while one can't do "it," and
one most certainly can't do "it" generally for all operating systems,
there is indeed some way to do it "it" for Windows for some variant
definition of "it" that I'm personally ignorant of. :) :) This version
of "it" probably involves the application in question listening for
some kind of well known event.


C//




More information about the Python-list mailing list