This is actually an old thing, but since drastic changes are made...
When moving a file that's locked by another process. TC starts copying it first and only warns about it after the files are copied. Even if you cancel or skip the copied file will remain. So you'll end up having two files even though you only wanted to move one. You have to delete one of them manually.
Warn before copying when trying to move.
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The problem is that TC cannot always determine why MoveFile fails - it could also be because the source and target are on different partitions. Then TC has to copy then delete.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I understand that. But it could check if the file is locked (and if not lock it itself) and prompt the user before it starts to copy.ghisler(Author) wrote:The problem is that TC cannot always determine why MoveFile fails - it could also be because the source and target are on different partitions. Then TC has to copy then delete.
And if the move/deletion still fails after that for whatever reason, then it fails.
It would be advantageous even when the it's moved to a different partition. The user might have the old copy remaining unexpectedly on the old location.