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\\
This will give you exactly what you need (path does NOT have to exist for this to work)
DirectoryInfo di = new DirectoryInfo(@"C:\blah\..\bling"); string cleanPath = di.FullName;