I have a Windows service that should look for a configuration file in its current directory.
So I use directory.getcurrentdirectiry()
but instead of the service directory I get back
c:\windows\system32
Any idea why and how should I get the service directory?