Archive: SetOverWrite and CopyFiles


SetOverWrite and CopyFiles
Shouldn't SetOverWrite dictate the behavior of CopyFiles?

I tried setting overwrite to "try" and then in the same section used CopyFiles to attempt to copy files over files on the client computer that were explicitly Read Only, and the destination files were overwritten, just like that.

Hmmm.

That seems a bit dangerous, wouldn't you say?


Nope, SetOverWrite only works for File. It's dangerous if you use CopyFiles for the wrong reasons, such as the this one. Use File /oname.