Public Class Tester Public Shared Sub Main Dim f As File
f.Move("test.txt", "text2.txt") End Sub
End Class
Unhandled Exception: System.IO.IOException: Cannot create a file when that file already exists.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.__Error.WinIOError()
at System.IO.File.Move(String sourceFileName, String destFileName)
at Tester.Main()