C#: How to get the full path of running process?
<p>I am having a application that is changing some settings of other application (it is a simple C# application that run by double clicking (no setup required)).</p>

<p>After changing the settings I need to restart the other application so that it reflects the changed settings. </p>

<p>So to do, I have to kill the running process and start the process again, But the problem is after killing I am not able to find the process. (Reason is system do not know where the exe file is..)</p>

<p><strong>Is there any way to find out the path of running process or exe, if it is running?</strong> </p>

<p>I do not want to give path manually, i.e. if it is running get the path, kill the proccess and start again else .... I will handle later</p>
