Skip to content

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


Last update: 2011-05-19