Did Microsoft Fix a Bug in CopyFolder?
On p. 192 of the VBScript Programmer's Reference, 2nd Edition, the 3rd paragraph states "If any ... folders and files have the read-only attribute turned on, then the CopyFolder method will raise an error, even if you pass True for the overwrite argument". This may have been the case several years ago, but I just ran a test of CopyFolder today (June 14, 2006) copying a folder that contained one hidden file which also had the read-only attribute set. CopyFolder successfully copied ALL files inside the folder including the read-only one. I presume that (a) this excellent book's statement was correct at the time it was written and (b) Microsoft has since fixed a bug in its CopyFolder method. Please let me know if anyone has had a different experience. Sincerely in Jesus Christ, Michael M. James