I have a PATH that is miles long, and I needed to find out where a certain application was launching from. On a good operating system, this kind of functionality is built in. On a Windows operating system, you can create a BAT file, or download a utility.
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.