Hi, do you u guys know what is the code to rename a file in a directory,
I have searched and found this:
My.Computer.FileSystem.RenameFile("C:\Test.txt", "SecondTest.txt")
however, it does not work for mine as mine is windows application development. when i put in this code, my.computer is underlined. Any one know the code to rename files in a directory? thanks
I have searched and found this:
My.Computer.FileSystem.RenameFile("C:\Test.txt", "SecondTest.txt")
however, it does not work for mine as mine is windows application development. when i put in this code, my.computer is underlined. Any one know the code to rename files in a directory? thanks