This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Deleting of locked folder bug

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC7.5x(a) final bug reports (English) Printable version
View previous topic :: View next topic  
Author Message
prokofyev
Junior Member
Junior Member


Joined: 24 Mar 2010
Posts: 2

PostPosted: Wed Mar 24, 2010 7:23 am    Post subject: Deleting of locked folder bug Reply with quote

Hello!

I found a small bug in TC 7.50a today. Steps to reproduce:

1. Create two sibling folders 1 and 2.
2. Start cmd.exe and change working dir to folder 1.
3. Select both folders in TC and try to remove them.
4. "The directory 1 could not be deleted" dialog appears.
5. In cmd.exe's window run "cd .." command to unlock folder 1.
6. Press "Retry" button.
7. TC removes folder 1 and leaves folder 2.

But it's expected both folders 1 and 2 should be removed on step 7.
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34739
Location: Switzerland

PostPosted: Wed Mar 24, 2010 3:31 pm    Post subject: Reply with quote

This isn't a bug, it's a windows "feature": Windows doesn't allow to remove a directory if it is the current directory in just ONE running program.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 7915
Location: Russian Federation

PostPosted: Wed Mar 24, 2010 10:50 pm    Post subject: Reply with quote

ghisler(Author) wrote:
This isn't a bug, it's a windows "feature": Windows doesn't allow to remove a directory if it is the current directory in just ONE running program.

No, he wants to say that TC doesn't delete unlocked folder "2" after retrying deletion of "1". Folder "2" is not locked at all but TC skips it.
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
prokofyev
Junior Member
Junior Member


Joined: 24 Mar 2010
Posts: 2

PostPosted: Wed Mar 24, 2010 11:42 pm    Post subject: Reply with quote

I unlock folder 1 on step 5, so TC deletes it on second try, but by unknown reason it cancels deletion of folder 2 which never was locked.
Back to top
View user's profile Send private message
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 7915
Location: Russian Federation

PostPosted: Thu Mar 25, 2010 12:05 am    Post subject: Reply with quote

BTW, TC cancels deletion of all folders after locked even if user unlocks it and retries operation. If you create 1, 2, 3 folders and start CMD from first, TC will leave 2 and 3 after deleting 1.
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34739
Location: Switzerland

PostPosted: Wed Dec 08, 2010 10:13 am    Post subject: Reply with quote

This fix was confirmed in the beta forum, thanks!
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
derekKinny
New Member
New Member


Joined: 02 Jan 2011
Posts: 1

PostPosted: Sun Jan 02, 2011 9:40 pm    Post subject: Reply with quote

w w w.t o o L o n g P a t h .c o m saved me lot of time for solving this problem
_________________
derekKinny
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC7.5x(a) final bug reports (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group