UGN Security

Paths and Directories

Posted By: startspark9

Paths and Directories - 11/04/05 01:15 AM

I recently started learning python because of a post made on this forum by one of the staff which i have to say is extremly well said and full of incite. Unforunatly in my "quest" for a higher understanding or knowledge of this language i have come across a couple "technical obsticals" so to speak. I am supposed to know how to cause a particular directory to become my current directory and to cause the directory containing the file named python.exe to be listed in my system environment variable named path. I don't know how to do either of these things, therfore would like some advice on how to do it or i would appreciate it if you could at least point me in the right direction.
Posted By: Gremelin

Re: Paths and Directories - 11/04/05 03:22 AM

I don't know who, if anyone, on this forum knows Python... I know that:

SilentRage Knows: Perl, Unix, Bind
Pergesu Knows: PHP, Java
Learner Knows: PHP, MySQL
Gizmo Knows: PHP, MySQL, Perl, XHTML, CSS
Neo Knows: PHP, MySQL
Ghost KNows: PHP, MySQL

But I can't for the life of me think of anyone on Python...
Posted By: Infinite

Re: Paths and Directories - 11/04/05 05:31 AM

wtf? my perl and bash skills don't count?

waaaaaaaaaaaaaaaaaaaaaa gizzeh no luv meh!!! frown

p.s. we all know ghost don't know [censored] too :p
Posted By: §intå×

Re: Paths and Directories - 11/04/05 06:00 AM

In NT systems,

Win Nt 4.0
Win 2000
Win XP

right click my computer icon >
left click properties >
Advanced Tab >
At the bottom you will see enviroment variables button, click it>
In the bottom list(system variables) find path. click it once and highlight it.>
should get a string of [censored] something like

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM;C:\j2sdk1.4.2_07\b in;

Now above notice >>>===> C:\j2sdk1.4.2_07\bin;

this is the path for java. just put the path to python.exe in there.

Now also notice the ";" (minus the quotes). You need to seperate paths with a semi colon.
© 2018 UGN Security Forum