I have two paths:
\\10.11.11.130\FileServer\Folder2\Folder3\
\\10.11.11.130\d$\Main\FileServer\Folder2\Folder3\
And I want to detect if the both paths are the same.
I want it because I'm trying to move one file to another directory. So for the paths above, an exception is thrown.
I know I can use try and catch, but there is another way?
I thought about removing d$\Main
from the second path and then compare, but it's not always true..
Any help appreciated!