I am attempting to use SearchPath to resolve what file would be launched if a filename were specified to launch from Local Machine Run in the registry. It seems to work as long as the file I am searching does not have a copy that resides in my application's directory. However, this seems to make SearchPath unusable for what I want.
Is there any function or technique that can find the file that would be launched if a file name was added as an entry to Local Machine Run? Thank you for any help you can provide.