Increase the number of Directory Hotlist
Moderators: white, Hacker, petermad, Stefan2
Increase the number of Directory Hotlist
Increase the number of Directory Hotlist items from 997 to 2000.
Re: Increase the number of Directory Hotlist
I think you've faced INI file limits, Windows supports only 64 KB INI files, so please check your wincmd.ini size.
Perhaps you will be able to use more hotlist entries if you redirect [DirMenu] section into a separate INI file.
Perhaps you will be able to use more hotlist entries if you redirect [DirMenu] section into a separate INI file.
Re: Increase the number of Directory Hotlist
It was true for Win9x. In newer Windows it's a limit for a section of ini file.
Many programs don't use system functions to work with ini files and may work with ini file sizes counted in megabytes. Just look at the simple calculation:
65536 / 997 < 66
Do you really think all the dirs are so short?
Finally - if the list contains so many entries, it's definitely NOT HOT. It's heavy and cold as a stone.
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
Re: Increase the number of Directory Hotlist
My ini file has a size of 45 660 bytes
It was made by me initially. This does not solve the problem.
Ultra TC Directory Menu Editor when I add a new item, it displays a message:
"The Directory Menu cannot contain more than 997 items."
Re: Increase the number of Directory Hotlist
2lisabon
It looks like a limitation of the plugin. What size has your ini with dirs?
It looks like a limitation of the plugin. What size has your ini with dirs?
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
Re: Increase the number of Directory Hotlist
Quite a strange limitation of 997 items, i think TC would use round numbers, e.g. 1000.
Re: Increase the number of Directory Hotlist
No, this is the limit of the Total Commander. When adding a new directory through Total Commander, the previous directory item is overwritten.
My ini file has a size of 45 660 bytes
Re: Increase the number of Directory Hotlist
What ini? I'm talking about INI with so large [DirMenu] section. If it contains 997 dir entries, it must be larger then 100 KB. Find the proper ini file.
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
Re: Increase the number of Directory Hotlist
Add separator and two constant list options below and you will have 1000 items.
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
Re: Increase the number of Directory Hotlist
DirMenu.ini
My DirMenu.ini takes 44.5 KB (45 660 bytes). Maybe you have more description in DirMenu.ini, than in my DirMenu.ini file. It is also possible that your DirMenu.ini encoded in Unicode instead of ANSI encoding. Therefore, such a difference in file size.
Re: Increase the number of Directory Hotlist
It seems you are right.
Just created a minimal content of two lines for any list item:
where x is an order number. It gives 30488 bytes for 997 items plus formatting, so previously I have miscalculated the size. In your case it's 15 characters more per item.
I did create 1009 items to see TC behaviour, and it's inconsistent: When pressing Ctrl+D, TC shows 998 items, but when choose "Configure…", it shows only 997 items.
However, I'd like to remark once again that 997 items is definitely NOT a hotlist to me, even if it's a nested list, with submenus, subsubmenus, etc. Quick Search works faster.
Just created a minimal content of two lines for any list item:
Code: Select all
menux=x
cmdx=cd C:\x
I did create 1009 items to see TC behaviour, and it's inconsistent: When pressing Ctrl+D, TC shows 998 items, but when choose "Configure…", it shows only 997 items.
However, I'd like to remark once again that 997 items is definitely NOT a hotlist to me, even if it's a nested list, with submenus, subsubmenus, etc. Quick Search works faster.
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator