How do I rename a file using C#?
Take a look at System.IO.File.Move, "move" the file to a new name.
System.IO.File.Move("oldfilename", "newfilename");
1.4m articles
1.4m replys
5 comments
56.9k users