.NET Windows Service Question - Ho to determine directory where service executable is? - 05-27-2005 , 10:55 AM
I can't seem to find the appropriate news group to post this question to so
sorry if this isn't it.
I have a C# .NET windows service. I want my service to be able to load some
files from its install directory at runtime. However, when the service is
running, the current directory is c:\winnt\system32. How do I determine the
directory that the service's executable was run from?
Re: .NET Windows Service Question - Ho to determine directory where service executable is? - 05-27-2005 , 01:36 PM
That's it, thanks. More specifically its:
"Mattias Sjögren" <mattias.dont.want.spam (AT) mvps (DOT) org> wrote
|Thread Tools||Search this Thread|