FSO - CopyFile method w/Wild char - prob read-only attrib
Posted on 1999-01-25
I am using FSO's CopyFile method to copy multiple files (e.g.: A:\*.*) with the 'Force' = "True" (destination not important). Users are allowed to copy files more than once.
Problem is that when trying to recopy files with "Read-Only" attrib, system comes up with err#70. I can fix that with getattr and setattr IF I KNOW WHAT THE FILENAME IS. Since I am using *.* as source with FSO, how do I get the filename it had a problem with.
If this can't be done using wild char (*.*), how else can I get the file list so I can copy one at a time?