Copyfile

  • Thread starter Thread starter Paul
  • Start date Start date
P

Paul

I'm having a few problems with the syntax, and the help is not very helpful

Any help appreciated ?
 
Dim SourceFile As String, DestinationFile As String
SourceFile = "c:\1.txt" ' Define source file name.
DestinationFile = "d:\1.txt" ' Define target file name.
FileCopy SourceFile, DestinationFile ' Copy source to target.


If this post helps click Yes
 
Back
Top