I\'m trying to join a Windows path with a relative path using Path.Combine.
However, Path.Combine(@\"C:\\blah\",@\"..\\bling\")
returns C:\\blah\\
Be careful with Backslashes, don't forget them (neither use twice:)
string relativePath = "..\\bling.txt";
string baseDirectory = "C:\\blah\\";
//OR:
//string relativePath = "\\..\\bling.txt";
//string baseDirectory = "C:\\blah";
//THEN
string absolutePath = Path.GetFullPath(baseDirectory + relativePath);