When copying (F5) an empty directory with a relatively long name (for instance, 250 characters) into another directory so that the full path of the copied directory constitutes a long path, TC fails to warn/inform about the copied folder having a long path ("the target path is more than 259 characters").
Moving (F6) the same empty directory into the same target directory instead of copying it will give the expected warning/information about the long path.
Tested and observed in TC 9.51 32-bit and 64-bit with fresh INI file, running on Win7 x64 Pro
No warning/information about long path when copying empty folder
Moderators: white, Hacker, petermad, Stefan2
-
- Power Member
- Posts: 872
- Joined: 2013-09-04, 14:07 UTC
- ghisler(Author)
- Site Admin
- Posts: 48118
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: No warning/information about long path when copying empty folder
It seems that there is a warning only when moving the folder within the same drive.
The reason is that moving the folder within the same drive is like renaming - all the folder contents will be moved too. Moving the folder between drives is like copying and then deleting. I didn't want to overload the user with directory too long warnings when copying, so I prefer to keep it as it is for now.
The reason is that moving the folder within the same drive is like renaming - all the folder contents will be moved too. Moving the folder between drives is like copying and then deleting. I didn't want to overload the user with directory too long warnings when copying, so I prefer to keep it as it is for now.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Power Member
- Posts: 872
- Joined: 2013-09-04, 14:07 UTC
Re: No warning/information about long path when copying empty folder
It seems you are correct. When observing the issue, i was moving the folder within the same drive. I just tested now with moving the folder to another drive, and there is no long-path warning either.ghisler(Author) wrote: ↑2021-02-15, 09:11 UTC It seems that there is a warning only when moving the folder within the same drive.
In either case, i myself am not too bothered about the long-path warning showing up in one case but not showing up in other cases. It's a bit unfortunate with regard to UX consistency, but it's also not really something that would have some adverse impact either. Move it to the "won't change" bin then...
![Smile :)](./images/smilies/icon_smile.gif)