Hello,
I have a question about sorting files that have no name
I mean they just have a extension name with dot only
First case:
Files do not have extension in the extension column
Second case:
The `.todo` file should be located elsewhere (alphabetical sorting by extension)
Letter `.t` (.todo) is after letter `.p` (.php)
Screenshot of both cases:
Image: https://i.imgur.com/M4QjIYY.png
Compare with WinSCP:
Image: https://i.imgur.com/JjZPkAn.png
Compare with VSCode:
Image: https://i.imgur.com/d55ZkVj.png
Is it possible to get the same behavior as in the cases that I showed as a comparison
Sorting files with extenion with dot only
Moderators: Hacker, petermad, Stefan2, white
Re: Sorting files with extenion with dot only
You can add a custom column using tc.ext wich will gives you the extension as you want.
Clicking on this column new will sort like for VSCode. This will not work for files inside archive or in filesystem plugin or ftp.
Clicking on this column new will sort like for VSCode. This will not work for files inside archive or in filesystem plugin or ftp.
Re: Sorting files with extenion with dot only
The reason for this behavior is that a file can't have no name. It has to have a name, and then the part after last period is used as extension.
So .todo have the name .todo and no extension
I do not think it is possible to change this behavior in Total Commander
So .todo have the name .todo and no extension
I do not think it is possible to change this behavior in Total Commander
Re: Sorting files with extenion with dot only
Ugh, that sort order annoys me! No, not that in TC but the example you got for the other programs. Why is .htaccess coming before the files, but .todo after them? Makes no sense. There's a similar issue in Linux Bash and/or Midnight Commander (this is why I bring this up) where the leading characters seem to be stripped (like # and dot and others) and sorted by the file's remainder. It's just super annoying to find files in such directories.
Anyway. Try the various sort methods provided by TC: Options > Display > Sort method.
Regards
Dalai
Anyway. Try the various sort methods provided by TC: Options > Display > Sort method.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror