--- In [email protected], Praveen S <mailprave...@...> wrote: > > Hi All, > I have a executable file at a particular location in the filesystem. From > root directory i run this exe. This exe will load a shared object from > another location (say /usr/lib). Now the shared object wants to read a > config file which is in the directory where the exe is located. How can it > get that path.
Don't know- perhaps this is why application config files are usually in the user's home directory? Can you do that instead, or perhaps create a symbolic link to the config file from the user's home directory? John
