[EMAIL PROTECTED] wrote: > [Windows XP Pro, cygwin python 2.4, *nix hacker, windows newbie] > > I want to write some kind of install script for my python app that > will add c:\cygwin\usr\bin to the system path. I don't want > to walk around to 50 PC's and twiddle through the GUI to: > > My Computer --> Control Panel --> System --> Advanced --> Environment > > > How can a python, or even a .bat script modify the system PATH? > It doesn't appear to be in the registry.
If you're just wanting to add a path to the system environments you can do: "set path=c:\path\to\whatever" # As a line in a Batch file -- Harlin Seritt -- http://mail.python.org/mailman/listinfo/python-list