I use Process.Start for running apps. User can input path to app, e.g. "C:\SomePath\app.exe" and then Process.Start run this app. But I input e.g. "chrome.exe" Process.Start method run Chrome browser too! Where from Process.Start get full path for "chrome.exe"? How I can get this path too?
Asked
Active
Viewed 139 times
0
-
It's a little hard to tell, but your question looks like a duplicate to [this one](https://stackoverflow.com/q/12392913/21567). Hint: "PATH" environment variable. – Christian.K Sep 16 '19 at 13:07
-
PATH variable does not contain path to chrome.exe, but chrome.exe launching successfully whatever – NightmareZ Sep 17 '19 at 09:19