SearchPath Without Considering Application Path

This is a discussion on SearchPath Without Considering Application Path within the Windows Programming forums, part of the Platform Specific Boards category; I am attempting to use SearchPath to resolve what file would be launched if a filename were specified to launch ...

  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    88

    SearchPath Without Considering Application Path

    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.

  2. #2
    Registered User
    Join Date
    Nov 2005
    Posts
    88
    PathFindOnPath seems to give me the function I need.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. get application data folder path
    By skuallpa in forum C++ Programming
    Replies: 4
    Last Post: 06-12-2009, 04:19 PM
  2. Replies: 1
    Last Post: 03-02-2006, 01:01 AM
  3. how to obtain the absolute application path
    By jagerhans in forum Linux Programming
    Replies: 4
    Last Post: 12-23-2004, 05:48 PM
  4. linked list recursive function spaghetti
    By ... in forum C++ Programming
    Replies: 4
    Last Post: 09-02-2003, 03:53 PM
  5. Application path
    By zigona in forum C++ Programming
    Replies: 4
    Last Post: 11-18-2001, 04:37 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21