renaming or moving sometimes works only at 2nd try

English support forum

Moderators: white, Hacker, petermad, Stefan2

mael
Junior Member
Junior Member
Posts: 10
Joined: 2005-10-03, 19:51 UTC

renaming or moving sometimes works only at 2nd try

Post by *mael »

hi there
i have a problem:
sometimes when i want to move a file to another folder on the same partition, instead of moving the file, TC copies it, but if i try it again, it works (it doesn't matter, if the operation is invoked with F6 or with the mouse+SHIFT)
the same situation with renaming files (bound to F2):
at first, it says: Error: Cannot read <filename> but the second try works fine

i *think* the problem occured only with files, which have the size of a CD or are bigger than that
and if i remember this right, the problem didn't show up in the previous version 6.52, but i didn't try to downgrade

i just tried it with a new wincmd.ini, still the same problem

TC 6.53
WatchDir=11 but i tried it with WatchDir switched off, too.
many plugins (which were installed some months ago)
WinMCE2005(=XP) SP2

any ideas?
User avatar
frenky
Senior Member
Senior Member
Posts: 250
Joined: 2005-07-30, 19:36 UTC

Post by *frenky »

I have a same behavior sometimes.
Maybe TC is checking first if file is locked that copy is performed instead of move?

I guess rename fails also due to the file locking by some 3. process? AV?

Edit
To be clear, I doubt this is a bug in TC :)
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Maybe---

Post by *Clo »

2frenky
2mael

:) Hello !
- Not sure, but you could try to disable the free-space checking to copy so big files, in <wincmd.ini> add or change :
[Configuration]
SizeCheck=0
* 1 : Check if there is enough disk space on target before copying
Maybe this could help…

:mrgreen: Kind regards,
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
mael
Junior Member
Junior Member
Posts: 10
Joined: 2005-10-03, 19:51 UTC

Post by *mael »

didn't change anything
but thanks for the suggestion
mael
Junior Member
Junior Member
Posts: 10
Joined: 2005-10-03, 19:51 UTC

Post by *mael »

frenky wrote:I have a same behavior sometimes.
Maybe TC is checking first if file is locked that copy is performed instead of move?

I guess rename fails also due to the file locking by some 3. process? AV?

Edit
To be clear, I doubt this is a bug in TC :)
the file isn't locked and the filetype and size doesn't matter either

i just tried it with windows explorer (uuhhhh :D) and the problem seems to be there too...

disableing the anti-virus scanner doesn't change anything

any other ideas? (even if it's not a bug in TC...)
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Try Unlocker to find out who locks the file.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
mael
Junior Member
Junior Member
Posts: 10
Joined: 2005-10-03, 19:51 UTC

Post by *mael »

it says, that there's no open handle on this file...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Try unlocker with a big file WHILE the file is being copied. It seems that the file gets locked just when the copying starts.
Author of Total Commander
https://www.ghisler.com
mael
Junior Member
Junior Member
Posts: 10
Joined: 2005-10-03, 19:51 UTC

Post by *mael »

in this case only TC is listed
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Well, it could be
- that the loading of the file icon takes a very long time, or
- a virus scanner running in the context of TC scanning the file
Author of Total Commander
https://www.ghisler.com
mael
Junior Member
Junior Member
Posts: 10
Joined: 2005-10-03, 19:51 UTC

Post by *mael »

were there any recent changes in TC regarding these two things?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

No, not that i'm aware off. Hove you tried to temporarily turn off the icons?
Author of Total Commander
https://www.ghisler.com
mael
Junior Member
Junior Member
Posts: 10
Joined: 2005-10-03, 19:51 UTC

Post by *mael »

turning off the icons didn't help either :?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The last thing I can recommend is that you run filemon from www.sysinternals.com to find out whether any other process or driver is accessing the file when you get this error.
Author of Total Commander
https://www.ghisler.com
djet
Junior Member
Junior Member
Posts: 9
Joined: 2005-12-15, 19:53 UTC

Post by *djet »

Almost the same problems.
1. Sometimes renaming silently fails: I press F2, rename the file, press Enter, but the filename is left the same w/o any message.
2. Sometimes TC fails to detect if the source and destination volumes are the same and launches a regular Copy+Delete operation. For example, if I move file from E: volume to a junction point that leads to the same volume (D:\Video --> E:\Video) TC launches a Copy+Delete, not Move operation.
Post Reply