P
Paul
I'm using the following code to make copies of files on a network drive:
Dim fso As Object
Set fso = CreateObject("Scripting.FileSystemObject")
fso.CopyFile strTemplateFile, strProjectFile
When the procedure runs, some of the source files are Read Only, and I'd
like to remove that Read Only attribute at the time I make the copy - so the
copied file doesn't retain the Read-Only attribute.
Is there a parameter I can add to the CopyFile line above, to remove the
Read Only attribute - or is there is also another way to accomplish this?
Thanks in advance,
Paul
Dim fso As Object
Set fso = CreateObject("Scripting.FileSystemObject")
fso.CopyFile strTemplateFile, strProjectFile
When the procedure runs, some of the source files are Read Only, and I'd
like to remove that Read Only attribute at the time I make the copy - so the
copied file doesn't retain the Read-Only attribute.
Is there a parameter I can add to the CopyFile line above, to remove the
Read Only attribute - or is there is also another way to accomplish this?
Thanks in advance,
Paul