[Tutor] setting path and pythonpath in win xp

alan.gauld@bt.com alan.gauld@bt.com
Fri, 15 Feb 2002 17:06:06 -0000


------_=_NextPart_001_01C1B643.0E308750
Content-type: text/plain; charset="ISO-8859-1"

>  How do you set the path and pythonpath in win xp? In the other  
>  windows environments you enter the proper commands in the  
>  autoexec.bat but I cannot find it in xp. 
 
 
XP = NT so you do it through the My Computer Properties page
 
One of the tabs has an Environment Variables button that allows 
you to set env vars per user or globally. 
 
Add the values you need there.
 
The alternative(and not recommended route) is to edit the file 
AUTOEXEC.NT which will be read when executing a DOS box... 
But if you do it via the dialogue you shouldn't need autoexec.
 
Alan g


------_=_NextPart_001_01C1B643.0E308750
Content-type: text/html; charset="ISO-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">


<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY 
style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; FONT: 10pt verdana; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none">
<DIV><SPAN class=000470917-15022002><FONT face="Courier New" color=#0000ff>&gt; 
&nbsp;</FONT></SPAN>How do you&nbsp;set the path and pythonpath in win xp? In 
the other&nbsp;<SPAN class=000470917-15022002><FONT face="Courier New" 
color=#0000ff>&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=000470917-15022002><FONT face="Courier New" color=#0000ff>&gt; 
</FONT>&nbsp;</SPAN>windows environments you enter the proper commands in 
the&nbsp;<SPAN class=000470917-15022002><FONT face="Courier New" 
color=#0000ff>&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=000470917-15022002><FONT face="Courier New" color=#0000ff>&gt; 
</FONT>&nbsp;</SPAN>autoexec.bat but I cannot find it in xp.<SPAN 
class=000470917-15022002><FONT face="Courier New" 
color=#0000ff>&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=000470917-15022002></SPAN>&nbsp;</DIV>
<DIV><SPAN class=000470917-15022002></SPAN>&nbsp;</DIV>
<DIV><SPAN class=000470917-15022002><FONT face="Courier New" color=#0000ff>XP = 
NT so you do it through the My Computer Properties page</FONT></SPAN></DIV>
<DIV><SPAN class=000470917-15022002></SPAN>&nbsp;</DIV>
<DIV><SPAN class=000470917-15022002><FONT face="Courier New" color=#0000ff>One 
of the tabs has an Environment Variables button that allows </FONT></SPAN></DIV>
<DIV><SPAN class=000470917-15022002><FONT face="Courier New" color=#0000ff>you 
to set env vars&nbsp;per user or&nbsp;globally.</FONT>&nbsp;</SPAN></DIV>
<DIV><SPAN class=000470917-15022002><FONT face="Courier New" 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=000470917-15022002><FONT face="Courier New" color=#0000ff>Add 
the values you need there.</FONT></SPAN></DIV>
<DIV><SPAN class=000470917-15022002><FONT face="Courier New" 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=000470917-15022002><FONT face="Courier New" color=#0000ff>The 
alternative(and not recommended route) is to edit the file </FONT></SPAN></DIV>
<DIV><SPAN class=000470917-15022002><FONT face="Courier New" 
color=#0000ff>AUTOEXEC.NT which will be read when executing a DOS box... 
</FONT></SPAN></DIV>
<DIV><SPAN class=000470917-15022002><FONT face="Courier New" color=#0000ff>But 
if you do it via the dialogue you shouldn't need autoexec.</FONT></SPAN></DIV>
<DIV><SPAN class=000470917-15022002><FONT face="Courier New" 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=000470917-15022002><FONT face="Courier New" color=#0000ff>Alan 
g</FONT></SPAN></DIV>
<DIV><BR></DIV></BODY></HTML>

------_=_NextPart_001_01C1B643.0E308750--