[TC 11.57rc4] renaming files when displaying long file names is disabled truncates long names

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

Moderators: Stefan2, Hacker, petermad

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 17375
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

[TC 11.57rc4] renaming files when displaying long file names is disabled truncates long names

Post by *petermad »

If I have disabled "Use long names (recommended)" and I try to inline rename a file to a long file name, then the name is just truncated to 8 characters.

I would expect that the file got renamed to the long file name and the short file name would be shown after pressing Enter - Just as if I had used DOS's RENAME or REN command

Similar if I try to copy for example testfile.txt to testfilenew.txt with Shift+F5, then TC tries to copy testfile.txt to testfile.txt and gives the message that I cannot copy a file to itself. No problems doing that with DOS's COPY command.
License #524 1994
Danish TC Translator
TC 11.58 32+64bit on Windows XP 32bit & Windows 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1416b
TC 3.62 on Android 6, 13, 15 & 16
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 53139
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.57rc4] renaming files when displaying long file names is disabled truncates long names

Post by *ghisler(Author) »

Sorry, I prefer to keep it this way. Disabled means disabled. This would affect a TON of functions.

Moderator message from: ghisler(Author) » 2026-04-16, 06:48 UTC

Moved to will not be changed
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 17375
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.57rc4] renaming files when displaying long file names is disabled truncates long names

Post by *petermad »

So when it says "Use long names" it really means that if disable I cannot use long names, not just not have them displayed.

So it is a mixed display AND operation setting.

Maybe add to the Help: "If disabled it is not possible to create files with long names - any attempt to do so will truncate the name to a 8.3 name"
License #524 1994
Danish TC Translator
TC 11.58 32+64bit on Windows XP 32bit & Windows 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1416b
TC 3.62 on Android 6, 13, 15 & 16
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 53139
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.57rc4] renaming files when displaying long file names is disabled truncates long names

Post by *ghisler(Author) »

It's not consequential, so I can't really add this statement. For example, Shift+F4 can still create longer name files, but F7 can't create long name directories.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 17375
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.57rc4] renaming files when displaying long file names is disabled truncates long names

Post by *petermad »

Then maybe just add: "If disabled it is not possible to rename files to long names - any attempt to do so will truncate the name to a 8.3 name"
License #524 1994
Danish TC Translator
TC 11.58 32+64bit on Windows XP 32bit & Windows 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1416b
TC 3.62 on Android 6, 13, 15 & 16
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 53139
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.57rc4] renaming files when displaying long file names is disabled truncates long names

Post by *ghisler(Author) »

OK, I will add that, thanks for the suggestion.
Author of Total Commander
https://www.ghisler.com
Post Reply