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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top