Copy file without open it???

  • Thread starter Thread starter vatov
  • Start date Start date
V

vatov

How can I copy a file without open it????
The file is on read-only network drive?:confused
 
Dim fSource As String, fDestination As String
fSource = "J:\Folder1\Folder2\...\Filename1.ext"
fDestination = "K:\FolderX\FolderY\...\FilenameZ.ext"
FileCopy fSource, fDestination

HTH,
Nikos
 

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