I don't think I have much to add except to ask what operations are
the programs attempting to do when the message is encountered.
If you are doing a *REPLACE to the target file then that, I think,
would lock the file.
is the error that the target (To) file is locked? Or the source
(From) file is locked?
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.