Environment.CurrentDirectory Property
Gets and sets the fully qualified path of the current directory; that is,
the directory from which this process starts.
HTH
Ollie Riches
"Steve" <St***@discussions.microsoft.com> wrote in message
news:31**********************************@microsof t.com...
C#
Is there a way I can retrieve the installation directory from within my
code? I have a config file which gets dumped into the instal dir when
they
instal, and in my code I need to get to that file. At the moment I am
having
to path the whole file, bu there is a chance that they may instal
elsewhere.
Thanks
Stve