Copy from A Drive to a folder (1 Viewer)

frankbutcher

Registered User.
Local time
Today, 17:37
Joined
Aug 6, 2004
Messages
192
Hi.
I have been searching previous threads and the help file and got half way, but have got stuck.

I want to copy all files from a floppy disk to a drive on a directory on a server. I can check to make sure the directory exists and if not, can make it. All I want to do is copy all the files from the floppy disk drive (A drive) to the direcory I have just created.

I got this from the help in access:-

FileSystemObject.CopyFolder "c:\mydocuments\letters\*", "c:\tempfolder\"

but can't get it to work......is this the way I want to go?

Can anyone help?

Thanks.

Frank.
 

ghudson

Registered User.
Local time
Today, 12:37
Joined
Jun 8, 2002
Messages
6,195
I am surprised that your searching of the forum did not lead to one of the many threads that would have provided the answer you seek. Here is one...

Creating an Xcopy Command
 

frankbutcher

Registered User.
Local time
Today, 17:37
Joined
Aug 6, 2004
Messages
192
Thansk for the reply.

I looked under copy, and folder copy, but with no luck. I did not realise it was xcopy I required.

Once again, thanks.

Frank.
 

ghudson

Registered User.
Local time
Today, 12:37
Joined
Jun 8, 2002
Messages
6,195
"Copy Folder" was the key search word, not "XCopy". There are a lot of threads on the subject, I have been here long enough to remember which ones I worked with.
 

Users who are viewing this thread

Top Bottom