Read only file

G

George

Hello!

Would it be possible to change the setting of a file to make it NOT Read
Only?
I'm using

FileSystemObject.CopyFile SrcPath, DstPath

if the file source is read only, this method would create a new file with
the same setting... can I avoid this?

Thanks for any suggestion and a nice weekend!
 
S

Stuart McCall

George said:
Hello!

Would it be possible to change the setting of a file to make it NOT Read
Only?
I'm using

FileSystemObject.CopyFile SrcPath, DstPath

if the file source is read only, this method would create a new file with
the same setting... can I avoid this?

Thanks for any suggestion and a nice weekend!

Nice and simple:

SetAttr SrcPath, vbNormal
 
Top