public static string NormalizePath(this string path) { string result = path.ToPlatformPath(); DirectoryInfo info = new DirectoryInfo(result); result = info.FullName; return result; }