Macro to copy a file

  • Thread starter Thread starter Jim Pockmire
  • Start date Start date
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.
 
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
 
Back
Top