Removes any redundant path segments and replaces all separators by the default one.
The resulting path representation is suitable for basic semantic comparison to other normalized paths.
Note that there are still ways for different normalized paths to represent the same file. Examples of this are the tilde shortcut to the home directory on Unix and Linux operating systems, symbolic or hard links, and possibly environment variables are examples of this.
Exception if an absolute path contains parent directory
segments ("..") that lead to a path that is a parent path of the
auto path > XindowsPath(