Hi John,<br><br>The OP wants to do it from a Python program.<br>Thats why I suggested using the registry.<br><br>Alan G<br><br><b><i>John Fouhy <john@fouhy.net></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> On 24/08/06, Alan Gauld <alan.gauld@btinternet.com> wrote:<br>> PATH is an environment variable and therefore changing it only<br>> affects the current process environment. You need to change it<br>> at source which used to be in AUTOEXEC.BAT but I don't think<br>> that is the preferred place in Win2K/XP.<br><br>To change the path in modern Microsoft Windows:<br><br>Right-click on "My Computer" (on the desktop or in Explorer), and<br>select "Properties". Click on the "Advanced" tab. Click the<br>"Environment variables" button. Find "Path" in the System variables<br>list control. Click "Edit" and make the changes you want...<br><br>Remember the days when information
like this was actually _documented_? :-)<br><br>-- <br>John.<br></alan.gauld@btinternet.com></blockquote><br><p> 
                <hr size=1>
Try the <a href="http://us.rd.yahoo.com/mail/uk/taglines/default/nowyoucan/wall_st_2/*http://us.rd.yahoo.com/evt=40565/*http://uk.docs.yahoo.com/nowyoucan.html">all-new Yahoo! Mail</a> . "The New Version is radically easier to use" – The Wall Street Journal