[implemented in Tc11b8] Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.
Moderators: Hacker, petermad, Stefan2, white
[implemented in Tc11b8] Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.
Can you please add more entries to the Directory Hotlist (Ctrl+D). Currently 1000 entries are possible. Can you please add 500 entries already in Tc11B6. Would that be possible, please? Background: Because there aren't that many entries possible in the starter menu anyway, you can very well go to the directory hotlist (of which here only a few are real directory entries and almost all entries as they are in the starter menu). If you use sub menus down to some depth there, you quickly reach the 1000 limit.
Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6. Thanks.
Joube
Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6. Thanks.
Joube
Last edited by JOUBE on 2023-06-21, 18:35 UTC, edited 1 time in total.
-
- Junior Member
- Posts: 79
- Joined: 2022-06-16, 23:37 UTC
Re: Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.
2JOUBE
WOW
It may be to use LNK files in a specific folder?
WOW
It may be to use LNK files in a specific folder?
Re: Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.
No. behind it are normal internal commands (cm_), user-defined commands (em_), batches, scripts, etc, just like in the starter menu. it is a replacement/supplement for the starter menu, because not many entries are possible there. Just simply the administration for many many systems.
Startermenue-Begrenzung auf 100 Einträge ;-(
Joubeghisler(Author) wrote: 2010-10-07, 16:27 UTC OK, mal sehen ob das machbar ist. Für einfache Programmstarts ohne komplexe Parameter kann sonst auch die Verzeichnisliste (Strg+D) verwendet werden, die wurde schon auf ~1000 Einträge erweitert.
Re: Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.
Unfortunately still not implemented in Tc11b7. Please add it.JOUBE wrote: 2023-06-02, 06:34 UTCPlease extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.
It should be easy: just increase the number from 998 to 1498.
Or are there problems elsewhere than? It can't really be due to the number of digits: one-digit and two-digit numbers are also supported in the [DirMenu] section, which I have of course redirected to an external file.
Thank you
Joube
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.
Yes, the problem is that each section in an ini file can only hold up to 64k characters (64kBytes ANSI, 128kBytes Unicode). This leaves only 64 characters per entry when there are 998 entries, including all the headers, line breaks etc.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.
If you redirect to leftHistory.ini and rightHistory.ini and add L/RHistory_ext section this limitation should not be an issue . You could check/force separate ini files with extended list for history in order to increase this number of saved path. AS search is possible from the history this make the request/suggestion more accurate than ever.ghisler(Author) wrote: 2023-06-16, 14:35 UTC Yes, the problem is that each section in an ini file can only hold up to 64k characters (64kBytes ANSI, 128kBytes Unicode). This leaves only 64 characters per entry when there are 998 entries, including all the headers, line breaks etc.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.
The limit is per section, e.g. [LeftHistory] is limit to 64k and [RightHistory] is limited to 64k too, so redirecting each section makes no difference.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.
Ah, damn, I just saw the answer now and hope it's not too late:ghisler(Author) wrote: 2023-06-16, 14:35 UTC Yes, the problem is that each section in an ini file can only hold up to 64k characters (64kBytes ANSI, 128kBytes Unicode). This leaves only 64 characters per entry when there are 998 entries, including all the headers, line breaks etc.
My redirected file with the [DirMenu] section (with 998 points) has a file size of exactly 55,212 bytes. So there is still a lot of space up to 64k.
And in the case reaching 64k limit it's my job to shorten the matter (texts, etc. *) ) so that it fits in 64k with 1500 points.
Please expand points to 1500 (minimum: 1200 points) in TC11. Thanks.
Joube
*) for example converting very long pathnames of scripts/batches into short user defined commands (em_...) and so on... **)
**) until reaching the limit of usercmd.ini (...a joke

- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.
998 entries usually fit in the 64k section. But as you can see, it's not far from that limit, so it would still be impossible to have more than about 1200 entries.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.
Yes, that is okay. Very obliging. Thanks.
Joube
Re: Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.
Tc11b8: history.txt
Thanks for that, and: it works (only tested up to 1006
)
Thead marked as [implemented in Tc11b8].
Joube
Code: Select all
21.06.23 Added: Directory hotlist: Increased maximum to 2000 entries, max 128k per section, show error if there isn't enough space to save list (32/64)

Thead marked as [implemented in Tc11b8].
Joube
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [implemented in Tc11b8] Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.
It's really odd, the description of the function WritePrivateProfileSection says that the lpString parameter is limited to 64k characters:
However, I have now tried with 128k and it works just fine! In fact it seems to work with even larger buffers, but 128k seem to be enough for most use cases. For now, you will get an error if the section is larger.[in] lpString
The new key names and associated values that are to be written to the named section. This string is limited to 65,535 bytes.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [implemented in Tc11b8] Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.
Oh, oh, there's probably no guarantee that Microsoft (with some monthly update maybe) won't suddenly play by its own rules again at this point. Therefore I will try to stay below the 64k limit.ghisler(Author) wrote: 2023-06-22, 09:31 UTC...function WritePrivateProfileSection says that the lpString parameter is limited to 64k characters
...
However, I have now tried with 128k and it works just fine!
Thanks again.
Joube
Last edited by JOUBE on 2023-06-22, 11:20 UTC, edited 1 time in total.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [implemented in Tc11b8] Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.
I tried from Windows XP up to Windows 11 and it always worked.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [implemented in Tc11b8] Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.
I wouldn't bet that it works on Win9x. The 64k value must have come from somewhere.
Regards
Dalai
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