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.