You can call 'Move on the File, while removing the ".txt" extension, which will result in the extension being ".config:"
string path = @"C:\Users\Whoever\Desktop\SubDirectory1\abc1.txt.config";
string newpath = Path.ChangeExtension(path, "");
File.Move(path, newpath);
While this "works," the need to manipulate file extensions in this way makes me wonder if there isn't a simpler way to do whatever it is you are doing here.