I think I am more confused now!
I take it from the example "Sample.xml" that we are not talking about Delphi source files but files that your Delphi application is accessing on network machines?
If so my questions are.
If the application is already accessing one of these file, how did that allocation happen if you don't have the path information already?
If your application is attempting to access one of these similarly named files, does it matter which one it accesses?
If it just needs to find the first one (because not all the network places will be active) then there are ways to do this.
Map the drives on you network, i.e assign a letter to each network drive visible and use iffileexists to loop through them. again there is information in the FAQ's on how to do this.
Use one of the network aware components like TShellTreeView, this has methods that allow searching.
My main application that need to access network files has been converted from drive mapping to use TShellTreeview, because it is much faster and easier to maintain.
Other than that we might need more info on what it is you are trying to do?
Steve: N.M.N.F.
If something is popular, it must be wrong: Mark Twain