path-variables

Is there a good tool for managing the Windows Environment Variables?

The one that comes with Windows XP is not that great. The text field is small, everything's on one line, and it's hard to edit. Does something better exist? If not, where should I start to make one? ...

How to keep from duplicating path variable in csh

It is typical to have something like this in your cshrc file for setting the path: set path = ( . $otherpath $path ) but, the path gets duplicated when you source your cshrc file multiple times, how do you prevent the duplication? EDIT: This is one unclean way of doing it: set localpaths = ( . $otherpaths ) echo ${path} | egrep -i "$...

How do I manipulate $PATH elements in shell scripts?

Is there a idiomatic way of removing elements from PATH-like shell variables? That is I want to take PATH=/home/joe/bin:/usr/local/bin:/usr/bin:/bin:/path/to/app/bin:. and remove or replace the /path/to/app/bin without clobbering the rest of the variable. Extra points for allowing me put new elements in arbitrary positions. The targe...

FDT / Eclipse : path variable

I am trying to create a script that would list all the linked libraries in an FDT project and their corresponding svn repositories. My problem : I was not able to find the file on my system where Eclipse (or FDT, I'm not even sure) writes all of the path variables. I have tried capturing changes on my system and have had no luck. If a...

javac not working in windows command prompt

I'm trying to use javac with the windows command prompt, but its not working. After adding the directory "C:\Program Files\Java\jdk1.6.0_16\bin\" to the end of the environment path variable, the java command works fine, but using javac gives me the error: 'javac' is not recognized as an internal or external command, operable program or...

Update Windows path variable when Java is updated automatically?

This question asks how to setup your path variable in Windows to include the Java bin directory allowing you to use the javac command from the prompt. The solution posted to this question states you should hard code the absolute path of the latest Java installation. In this case it happens to be c:\program files\java\jdk1.6.0_16\bin I...