Page 1 of 2

[implemented in Tc11b8] Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.

Posted: 2023-06-02, 06:34 UTC
by JOUBE
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

Re: Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.

Posted: 2023-06-02, 06:52 UTC
by monarch-lfv
2JOUBE
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.

Posted: 2023-06-02, 07:11 UTC
by JOUBE
monarch-lfv wrote: 2023-06-02, 06:52 UTC It may be to use LNK files in a specific folder?
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 ;-(
ghisler(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.
Joube

Re: Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.

Posted: 2023-06-15, 10:09 UTC
by JOUBE
JOUBE wrote: 2023-06-02, 06:34 UTCPlease extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.
Unfortunately still not implemented in Tc11b7. Please add it.

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

Re: Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.

Posted: 2023-06-16, 14:35 UTC
by ghisler(Author)
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.

Re: Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.

Posted: 2023-06-17, 05:32 UTC
by nsp
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.
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.

Re: Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.

Posted: 2023-06-18, 09:11 UTC
by ghisler(Author)
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.

Re: Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.

Posted: 2023-06-19, 10:33 UTC
by JOUBE
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.
Ah, damn, I just saw the answer now and hope it's not too late:

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 ;-) )

Re: Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.

Posted: 2023-06-20, 10:06 UTC
by ghisler(Author)
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.

Re: Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.

Posted: 2023-06-20, 15:16 UTC
by JOUBE
ghisler(Author) wrote: 2023-06-20, 10:06 UTC 1200 entries.
Yes, that is okay. Very obliging. Thanks.

Joube

Re: Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.

Posted: 2023-06-21, 18:34 UTC
by JOUBE
Tc11b8: history.txt

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)
Thanks for that, and: it works (only tested up to 1006 ;-))

Thead marked as [implemented in Tc11b8].

Joube

Re: [implemented in Tc11b8] Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.

Posted: 2023-06-22, 09:31 UTC
by ghisler(Author)
It's really odd, the description of the function WritePrivateProfileSection says that the lpString parameter is limited to 64k characters:
[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.
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.

Re: [implemented in Tc11b8] Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.

Posted: 2023-06-22, 10:51 UTC
by JOUBE
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!
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.

Thanks again.

Joube

Re: [implemented in Tc11b8] Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.

Posted: 2023-06-22, 11:00 UTC
by ghisler(Author)
I tried from Windows XP up to Windows 11 and it always worked.

Re: [implemented in Tc11b8] Please extend the Directory Hotlist (Ctrl+D) to 1500 entries in Tc11b6.

Posted: 2023-06-22, 11:11 UTC
by Dalai
I wouldn't bet that it works on Win9x. The 64k value must have come from somewhere.

Regards
Dalai