Rename A File - VB.Net

' Change "c:\test.txt" to the path and filename for the file that
' you want to rename.
My.Computer.FileSystem.RenameFile("C:\Test.txt", "SecondTest.txt")

Source: MSDN

Posted: 2011-05-19