snorwood
08-07-2008, 08:18 AM
This service needs to call a native win32 exe. I know how to call another process in .net, and capture its console output. What I don't know is the best way to find the app. I would like to install the exe with the service into the same folder, either bin or the 'root'. I would like to have the working directory the 'root' directory were the service was installed, instead of c:\windows\system32\inetsrv. I know I can find the bin folder because of the location of the running assembly, but I am hoping there is a more elegant way then that. I am also looking for suggestions of were to have the exe. Thanks in advance.