Copying files from PC to PC

  • Thread starter Thread starter Alan Perry
  • Start date Start date
A

Alan Perry

Using Excel 2003 VBA under XP I want to copy from

\\PC_NAME\C$\DATA
to
H:\DATA_BACK_UP

I have tried FileCopy but it keeps throwing "Permision Denied"
And so does Microsoft Scripting Runtime.

This will probably be some thing obvious....

Last resort is to Shell("cmd /c copy \\PC_NAME\C$\DATA\test.dat H:\DATA_BACK_UP")
But this takes an unkown amount of time and I want to delete the old files


Cheers

Alan
 
Sounds like the file copy is violating the share permissions on th
network
 

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