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

Published: 2011-05-19
Category: Technology
Read Time: 0 minute(s)