change windows system path from cygwin python?
peter at engcorp.com
Wed Dec 15 21:57:03 CET 2004
Fredrik Lundh wrote:
> <gry at ll.mit.edu> wrote:
>>How can a python, or even a .bat script modify the system PATH?
>>It doesn't appear to be in the registry.
> did you look under
> HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment
And see also this helpful recipe:
More information about the Python-list