I'm trying to join two relative paths to create another relative (NOT absolute) path using Path.Combine.
string path1=@"rootDir\DirA\DirAA";
string path2=@"..\..\DirB";
Console.WriteLine(Path.Combine(path1, path2));
//I get: rootDir\DirA\DirAA\..\..\DirB
Console.WriteLine(Path.GetFullPath(Path.Combine(path1, path2)));
//I get: C:User\rootDir\DirB
What I actually want is
//rootDir\DirB
Is there any way to accomplish that using Path?