RE: FileSystemObject.CopyFile: Permission Denied



I created a new folder, test. It's read only flag is set, and tho I can
un=check it, it doesn't stick. I have full permissions on the folder. I tried
the following via a command prompt:

attrib -r +s c:\test

It did not appear to make any difference. The process still fails to copy a
file, with the same error.

Thanks

""Peter Yang[MSFT]"" wrote:

Hello,

Please check if the issue occurs if the destination folder is empty or a
new folder? You may want to check if you encounter the following known
issue:

941190 Permission Denied error returned when FileSystemObject.CopyFolder
encounters a Read-Only Destination File
http://support.microsoft.com/default.aspx?scid=kb;EN-US;941190

Best Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support


=====================================================

When responding to posts, please "Reply to Group" via your
newsreader so that others may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


.



Relevant Pages


Loading