I have a shared folder (TestFolder) on my Windows machine.
- Full path to the folder: D:/TestFolder
- Machine name: anil-win10
- Machine IP: 10.130.63.10
Case 1: I have my C++ application running on the other machine and it contains a list of network paths. I can add followings two paths to the list.
- \\anil-win10\TestFolder
- \\10.130.63.10\TestFolder
I want to know if the list has duplicates and remove the duplicates.
How can I get to know using C/C++ Win32 APIs?
Case 2: My C++ application is running on the same machine.
I can add same shared folder via.
- \\anil-win10\TestFolder
- \\10.130.63.10\TestFolder
- D:/TestFolder
Actually, all 3 paths are pointing to the same location, here also I want to remove the duplicate paths. Looking for same C/C++ Win32 solution.