Author Topic: Foldersize wrong if folder contains very long paths  (Read 1016 times)

StefanH

  • Contributor
  • Newbie
  • *****
  • Posts: 4
    • View Profile
Foldersize wrong if folder contains very long paths
« on: March 28, 2025, 08:19:41 »
I have to copy a folder from the network to an other location and to verify if everthing is ok I compare the foldersize from source and target. I'm wondering that it differ and it becomes clear that this is due to very long pathes of the source dir. Getting the folder size of the source with robocopy shows the correct size. See screenshot (right = source, left = target). I'm usiing Multicommander 15.2 on Windows11.
If I show the properties of the source folder with the file explorer it shows the correct size (like the result fo the robocopy).

Any ideas if this could be fixed by whatever setting in MC? It seems that the support for long paths isn't implemented so far.

Matthias515566

  • Power Member
  • ****
  • Posts: 330
    • View Profile
Re: Foldersize wrong if folder contains very long paths
« Reply #1 on: March 28, 2025, 10:01:00 »
Your screenshots do show the correct directory size, though.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4601
    • View Profile
    • Multi Commander
Re: Foldersize wrong if folder contains very long paths
« Reply #2 on: March 28, 2025, 11:12:32 »
I'm not able to test it at the moment..

But to get this right.
Folder sizing show wrong size on network path that are extra long ( Longer then 255char ) ?

Long path support is supported. but it might fail on some places. since not all windows API support it.
I know it worked before. But folder sizing has been reworked since then.
But it can most likely be fixed if it is an issue. I will check tomorrow

StefanH

  • Contributor
  • Newbie
  • *****
  • Posts: 4
    • View Profile
Re: Foldersize wrong if folder contains very long paths
« Reply #3 on: March 28, 2025, 12:02:08 »
I'm not able to test it at the moment..

But to get this right.
Folder sizing show wrong size on network path that are extra long ( Longer then 255char ) ?  => yes

Long path support is supported. but it might fail on some places. since not all windows API support it.
I know it worked before. But folder sizing has been reworked since then.
But it can most likely be fixed if it is an issue. I will check tomorrow