Using VB.Net
I want to copy the txt file from one location to another location.
textbox1.text = Source file directory
textbox2.text = destination file directory
For Example
textbox1.text = "C:\1.txt"
textbox2.text = "d:\"
I want to copy 1.txt to d drive.
How to do this.
Need Sample Code Help
Use the
File.Copymethod.Or, if a file already exists in the destination location, specify a boolean value indicating whether or not to overwrite,