Copy folder (1 Viewer)

Philmore

Registered User.
Local time
Today, 13:58
Joined
Dec 20, 2001
Messages
21
Hi Guys I need some help with copying a folder from a server to a local computer. I need to copy a foler with dbf files the server to my PC. How can I achieve this. I do not want to use a batch file.
 

Alexandre

Registered User.
Local time
Today, 20:58
Joined
Feb 22, 2001
Messages
794
Have a look to the .CopyFolder method (of the FileSystemObject) in Access Help.

Ex:
Code:
Dim fs As Variant

Set fs = CreateObject("Scripting.FileSystemObject")
fs.CopyFolder "c:\mydocuments\current workfiles\*", "c:\mydocuments\archived workfiles"

Alex
 

Philmore

Registered User.
Local time
Today, 13:58
Joined
Dec 20, 2001
Messages
21
Hey Alex thanks for the code worked like a dream.
 

Users who are viewing this thread

Top Bottom