Filecopy - Do you need to specify Destination Filename?

  • Thread starter Thread starter Andibevan
  • Start date Start date
A

Andibevan

Hi All,

When using the method to copy files I get an error "Path Not Found"

Filecopy "C:\Temp\t1\New Text Document.txt", "C:\Temp\"

Do you have to specify the name of the destination file when copying
individual files or can I use just the path?

Ta

Andi
 
Andi,

From help.

Required. String expression that specifies the target file name. The
destination may include directory or folder, and drive.

So it looks like the answer is yes, it does need a file name, but the path
is optional.
 
I did read the help but it didn't make much sense to me (no change there
then :-))

Thanks Bob
 

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

Similar Threads


Back
Top