Closed clor09 closed 2 years ago
The problem with using .FullName
is that it matches on the full path. If for example you had a path such as \windows\foo\stuff\bar\foo
and another path such as `\windows\stuff\bar\foo' and you wanted to match on the second example, then there's a possibility it could get confused with the first example. This is why in the data file there's a weighting added to each path so that the correct path is chosen based on the directory name.
Thanks for your effort though.
match by full path instead of just file name & on windows fix path sep for better fit