This week's book giveaway is in the Cloud/Virtualization forum. We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line! See this thread for details.
Normall a path ignores all the "."(this directory) it contains. So "c:\personal\.\photos\readme.txt" and "c:\personal\photos\readme.txt" should give identical results for different operations, but in the following code normalize path gives different result than other, can anyone explain the reason for this?
The documentation doesn't mention the behavior when the Path is not normalized. My guess is Path methods like relativize and resolve don't properly handle paths which are not normalized. For example check the following code and it's output: