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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top