You are on page 1of 1

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button1.Click
My.Computer.FileSystem.CopyFile("D:\abc\ac.txt", "d:\zxy\acq.txt")

'FileCopy("D:\abc\ac.txt", "d:\abc\ac1\acq.txt")

'System.IO.File.Copy("D:\abc\ac.txt", "d:\abc\ac1\acq.txt")
End Sub

End Class

You might also like