Yo thx,
this is what i found out :
when in the command prompt typin
Code:
PATH=/in/space/somewhere:/in/space/somewhereelse: ...
will do the job. The different paths are separated by colons (colon = ':').
You can find out wether the job was done with 'echo $PATH'.
What I didnt find out is how to include the old path into this assignment. (in m$-dos something like
Code:
'set PATH= %PATH;c:\blabla;...'
).
in a sh-shell-file this two lines
Code:
PATH=/usr/local/j2sdk_nb/j2sdk1.4.2/bin/:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin
export PATH
didnt do the job, whats wrong?
also in a csh file
Code:
setenv PATH /a/path/
didn't work, but I found it documented that style somewhere. should it have been
Code:
setenv(PATH,"/apath/");
?
where do I change the startup values of environment variables?
This is not urgent any more, but if someone is in the mood to teach someoneelse some lessons: you are very welcome
mfg bronko
long live the penguin!