in reply to The process cannot access the file because it is being used by another process?[Problem disappeared!]

Don't think it's Perl-related and don't think it's referring to DATA. Seems to be a Windows error (see http://tinyurl.com/6q3c6a7 et al.); most solutions appear to involve killing and restarting explorer.exe.

The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^2: The process cannot access the file because it is being used by another process?
by Corion (Patriarch) on Apr 28, 2016 at 07:48 UTC

    To add to this, in my experience, I sometimes found the "preview" pane of Explorer.exe holding open files and thus preventing moving/renaming/overwriting. This does not always happen, and I've used the preview pane to watch images/automatic screenshots being updated. But maybe some other Explorer extension is not as careful with allowing overwriting of files or it is an unfortunate timing issue.