How would I go about doing that? I'm pretty sure it would take 2 parameters like this
But I do not know the method that renames files.Code:renameMethod("originalFileName", "newFileName");
Nvrm found out how.
Had to add
to the top then useCode:using System.IO;
I just make the the dircetory the same and rename the file like so.Code:File.Move("originalFileName and directory", "NewfileNameAndDirectory");
and the renames "Bender.txt" to "Bender2.txt"Code:File.Move("C:\\Bender.txt", "C:\\Bender2.txt");