How can i find the execution path of a installed software in c# for eg media player ,vlc player . i just need to find their execution path . if i have a vlc player installed in my D drive . how do i find the path of the VLC.exe from my c# coding
Share
This method works for any executable located in a folder which is defined in the windows PATH variable:
Then use it as follows:
Like Fredrik’s method it only finds paths for some executables