Macro to copy a file

J

Jim Pockmire

Is there a macro or code to do a simple file copy for a file with a long
file name? e.g.from c:\long filename.txt -to c:\temp\long filename.
 
S

Steve Schapel

Jim,

I am not sure whether this can be dome in a macro. But certainly VBA
provides for it...
FileCopy "c:\long filename.txt","c:\temp\long filename.txt"

- Steve Schapel, Microsoft Access MVP
 

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

Top