Copy file without open it???

V

vatov

How can I copy a file without open it????
The file is on read-only network drive?:confused
 
N

Nikos Yannacopoulos

Dim fSource As String, fDestination As String
fSource = "J:\Folder1\Folder2\...\Filename1.ext"
fDestination = "K:\FolderX\FolderY\...\FilenameZ.ext"
FileCopy fSource, fDestination

HTH,
Nikos
 
Top