String dir = Path.GetDirectoryName(fullyQualifiedName); string root = Directory.GetParent(dir).FullName;
path=Y:TestProjectinDebug ans = String.Join(@"", path.Split('').Skip(3));