Imports System.IO Public Class Tester Public Shared Sub Main Dim f As File f.Move("test.txt", "text2.txt") End Sub End Class