Page 1 of 2

Who's preventing me from doing what I want?!

Posted: 2007-10-02, 13:42 UTC
by pbz
Let's say I'm copying/moving/deleting some files/folders, which is what I use TC 80% of the time. Sometimes a file or folder is locked because it's opened by some other application.

What I would like if TC could tell me what process has that file open. Yes, I can use 3rd party utilities to figure this out, but it's usually a pain, and if TC would list those processes right in the copy/delete pop-up windows I wouldn't have to hunt them down. If it could allow me to kill those processes even better; however, I can usually fix it myself by closing that application -- I only need to know which one of the 100s of open applications/processes it is...

Thanks.

Posted: 2007-10-05, 06:38 UTC
by avada
Also it would be a good thing if TC warned me if the file I want to move isn't movable BEFORE copying the file. Now TC just copies the file and the pops up a message "Acces denied on file". And I end up with two instances of the same file. The weird thin is that TC checks this when I want to move a file on the same drive, but instead of warning me copies the file.

Posted: 2007-10-05, 08:21 UTC
by TLis
Just a suggestion: Maybe TC could delete the copy it just made after realising that he cannot remove the original file ... It could do it after confirmatio (controlled by some INI file setting)

Posted: 2007-10-05, 08:46 UTC
by icfu
It makes no sense to ask for a confirmation to delete a file copy which shouldn't even exist.

If the user decides to MOVE a file, TC should MOVE it. If that's not possible it should offer to close the application/handle before moving.

All other file managers I know are working as expected. If the file is locked, an error message is displayed and the operation is denied without creating a useless file copy.

Icfu

Posted: 2007-10-09, 15:25 UTC
by avada
Is there any possibility that the present behavior would be changed?

Posted: 2007-10-10, 13:35 UTC
by pbz
avada wrote:Also it would be a good thing if TC warned me if the file I want to move isn't movable BEFORE copying the file. Now TC just copies the file and the pops up a message "Acces denied on file". And I end up with two instances of the same file. The weird thin is that TC checks this when I want to move a file on the same drive, but instead of warning me copies the file.
I believe that's the case only when you "move" from one drive to another. When you move from one folder to another on the same drive the only thing that's changing is the entry in the file allocation. In the case of moving across drives the move operation is simulated with a copy and a delete if the copy succeeded. Not sure if possible, but I guess TC could check if the file is locked before even trying to "move" the file; though I suspect this would slow down the operation...

Posted: 2007-10-11, 12:53 UTC
by avada
pbz wrote: I believe that's the case only when you "move" from one drive to another. When you move from one folder to another on the same drive the only thing that's changing is the entry in the file allocation. In the case of moving across drives the move operation is simulated with a copy and a delete if the copy succeeded. Not sure if possible, but I guess TC could check if the file is locked before even trying to "move" the file; though I suspect this would slow down the operation...
The weird part is that it happens when I try to move on the same drive. So its like thin isn this case: TC tries to change the location of the file. When it fails copies the file then prompts a message ( "Acces denied on file" ).
I'm quite sure that it is possible to check that the file is locked.

Posted: 2007-12-10, 11:50 UTC
by avada
Maybe this topic should be in in the bugriports forum, because this behavior is just not right.

Posted: 2007-12-10, 13:23 UTC
by Postkutscher
Not agree here. I want not wait before access rights will be examined. It is enough to wait before free place will be checked. I want just move and not wait eternal.

Posted: 2007-12-15, 11:05 UTC
by Sosna
support ++, I don't need copy when I try to move file, especially when file is huge

Posted: 2007-12-29, 10:38 UTC
by fredscal
Support++ to ALL i've read in this thread !

Posted: 2008-01-11, 16:11 UTC
by avada
Postkutscher wrote:Not agree here. I want not wait before access rights will be examined. It is enough to wait before free place will be checked. I want just move and not wait eternal.
I don't that it takes noticable time to check if the file is locked.

I suggestion until the feature comes..

Posted: 2008-01-15, 14:22 UTC
by tocmd
There is a command called handle.
I created the following bat, using handle from www.sysinternals.com

openHandles.bat
======
handle -a %1
pause
======
and then I just execute the bat from commander passing it %P%N

it will show all the processes(+pids) that own files on the path under cursor or subpaths.

Re: I suggestion until the feature comes..

Posted: 2008-04-22, 12:35 UTC
by avada
tocmd wrote:There is a command called handle.
I created the following bat, using handle from www.sysinternals.com

openHandles.bat
======
handle -a %1
pause
======
and then I just execute the bat from commander passing it %P%N

it will show all the processes(+pids) that own files on the path under cursor or subpaths.
I can do that with unlocker. If tc would inform me about this would be cool. But I would be more than happy if TC wouldn't copy my files indtead of moving if it can't move them.

Re: Who's preventing me from doing what I want?!

Posted: 2008-04-22, 15:50 UTC
by nsp
The worst case is when TC is locking the folder itself ! (I encounter this very often when i use multiarc...)

But as suggested i use handle to detect and close those...

so support++ having TC handle such crap itself !