Surplus moving folders with admin rights

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Surplus moving folders with admin rights

Post by *MVV »

Hi again, I saw a small but annoying bug.

When I try to move a folder into or from a write-protected directory, Vista asks for admin rights. I say Yes, and TC moves a folder, but it moves all its contents file-by-file using copy/delete instead of just moving a folder link into new directory. While moving folders with thousands of files it is significant.

I'm using TC 7.04a.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This happens when TC failed to move the folder itself (function MoveFile(Ex) failed also with admin rights).
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

But Explorer normally moves this folder (folder isn't protected by any application). If I use Ctrl+X, Ctrl+V, folder is moved normally, w/o moving each file. I just say that TC can't do it correctly. :)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Really, does Explorer allow to move the folder with Admin rights?
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Try to create a folder, put into it a lot of files and then try to move a folder into a write-protected folder with TC (or from write-protected into normal). And with Ctrl+C, Ctrl+V. TC will move it file-by-file. Explorer just moves an upper folder (after asking admin permission).
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Also TC doesn't allow to move a folder if folder with same name exists in destination directory and permission required. Explorer just merges folders, as expected. TC just asks for replacing a folder, I press "All w/admin rights", then TC says "access denied". My test folder contains about 3000 files with subdirectories.
Post Reply