The OP wants to do it from a Python program.
Thats why I suggested using the registry.
Alan G
John Fouhy <[EMAIL PROTECTED]> wrote:
On 24/08/06, Alan Gauld <[EMAIL PROTECTED]> wrote:
> PATH is an environment variable and therefore changing it only
> affects the current process environment. You need to change it
> at source which used to be in AUTOEXEC.BAT but I don't think
> that is the preferred place in Win2K/XP.
To change the path in modern Microsoft Windows:
Right-click on "My Computer" (on the desktop or in Explorer), and
select "Properties". Click on the "Advanced" tab. Click the
"Environment variables" button. Find "Path" in the System variables
list control. Click "Edit" and make the changes you want...
Remember the days when information like this was actually _documented_? :-)
--
John.
[EMAIL PROTECTED]>
Try the all-new Yahoo! Mail . "The New Version is radically easier to use" The Wall Street Journal
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor