>Say you in Linux have you program in /usr/bin and you start it from >/home/somebody/ then the current directory will be the last and not >where the program is. Then you shouldn't do that. I had a different problem, namely that the current directory can change after the program has started. Manuel