How do I rename a file using C#?
2Best Answer
Take a look at System.IO.File.Move, “move” the file to a new name.
System.IO.File.Move("oldfilename", "newfilename");