I\'m trying to join a Windows path with a relative path using Path.Combine.
However, Path.Combine(@\"C:\\blah\",@\"..\\bling\") returns C:\\blah\\
Path.Combine(@\"C:\\blah\",@\"..\\bling\")
C:\\blah\\
For windows universal apps Path.GetFullPath() is not available, you can use the System.Uri class instead:
Path.GetFullPath()
System.Uri
Uri uri = new Uri(Path.Combine(@"C:\blah\",@"..\bling")); Console.WriteLine(uri.LocalPath);