If I have two different file paths, how can I determine if they point to the same file?
This may be the case if, for example, the user is connected to a network drive that points to a network resource. For example, drive S: is mapped to \ servercrm \ SomeFolder.
Then these paths actually point to the same file:
S:\somefile.dat
and
\\servercrm\SomeFolder\somefile.dat
How can I detect this? I need to encode it so that it works in all scenarios, where there can be different ways to specify the path to the same file.
driis source
share