if lenght is over 256 characters, TC don't see it correctly

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
TieFighter
Member
Member
Posts: 190
Joined: 2007-12-03, 12:58 UTC
Location: France

if lenght is over 256 characters, TC don't see it correctly

Post by *TieFighter »

Hello,

I want to test the issue of rights to a directory of more than 256 characters. I create a directory with 270 characters and I get an error message : OK

But if I create a directory "toto" and I rename it I have th following message :[img]http://zupimages.net/up/16/31/608f.png[/img]

1- the name is 270 characters, the message say (283) - Why TC see 13 more characters ?
2- "the last part of the name is 271 characters long" - Why TC see 1 more characters ?
I think is 270 character + '.' because it's a directory. But if I rename the directory <270 characters>.1, the lenght is 273 not 272, TC see 1 more characters again.
Cordialement,
TieFighter
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You are misunderstanding something: There are three limits:
1. Individual name parts in a path can have a maximum length of 256 characters. This is a limitation of the NTFS file system.
2. Windows can handle with its functions a maximum path length of 259 characters. The underlying NTFS file system can handle much longer paths.
3. Total Commander supports a maximum path length of 1022 characters.
Author of Total Commander
https://www.ghisler.com
Post Reply