You can use the API function GetPrivateProfileString to read a named entry from an .ini file.
You find detailed descriptions here:
http://allapi.mentalis.org/apilist/G...leString.shtml

You declare the function GetPrivateProfileSring and then call it to read a certain string which contains your path name from the ini file.
You can read the examples how to use this function. If you don't get along with the usage, we surely can help.