Re: Permision Denied Error 800A0046




"Greg" <Greg@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2CE7972A-846F-4D92-A2F6-5B60C66773F1@xxxxxxxxxxxxxxxx
Const OverWriteFiles = TRUE

Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.CopyFolder "D:\uSERS" , "\\Fred\BackupShare\WeeklyBackup" ,
OverWriteFiles

I am logged in as administrator and can manually copy files to this share
but everytime I run the script I receive the above error. Any Ideas. TIA

--
Greg

I small amount of nosing about plus a few minutes of googling
for this type of error reveals two things:
- The problem occurs only on the second and subsequent runs,
never on the first run.
- It only occurs if one of the source files has some write-protection.

Stop protecting your files and your problem will be solved!


.