Is there any way to get the executable path(.exe) location of any application using the application name?

No the Drive can be changed , thats why I needed a logic to get the exe path with application name & I cannot use third party marketplace component due to some restrictions