[Feature suggestion] clean out obsolete dir menu entries
Moderators: Hacker, petermad, Stefan2, white
[Feature suggestion] clean out obsolete dir menu entries
While doing my file-management I often add temporary shortcuts to dirs which later get deleted leaving dead entries in the directory menu. Therefore, it would have been nice with an option that cleans out non-existant dirs from the menu.
Owner of personal license #67464
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This could be dangerous, because Network shares may be temporarily unavailable...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Generally I agree that dead entries (broken links) are a reoccurring problem, but I think it's not worth to blow TC for this, (also) because the 'Directory Hotlist' of TC is typically rather small.
However there is a related topic I would like to mention: Currently wincmd.ini is a motley collection of keys and values that might be reorganized with little effort. Just as a rough idea I suggest to split wincmd.ini up into the following 3 files:
1) tc_core.ini for settings independent of the local drives and the LAN. Thus it would be easier to keep the TC-settings of multiple computers in sync (eg. a business-pc and a home-pc).
2) tc_env.ini for settings dependent of the local drives and the LAN (eg. [DirMenu]). Furthermore the format should be changed so that it would be easy to manage sections such as [DirMenu] directly in a text editor (now it's quite awkward).
3) tc_hist.ini for history data (eg: [SearchName], [SearchIn], [SearchText], [RenameTemplates], [Command line history]). Thus it would be easier to get rid of history data. Tools such as 'TC History Cleaner' would go obsolete.
However there is a related topic I would like to mention: Currently wincmd.ini is a motley collection of keys and values that might be reorganized with little effort. Just as a rough idea I suggest to split wincmd.ini up into the following 3 files:
1) tc_core.ini for settings independent of the local drives and the LAN. Thus it would be easier to keep the TC-settings of multiple computers in sync (eg. a business-pc and a home-pc).
2) tc_env.ini for settings dependent of the local drives and the LAN (eg. [DirMenu]). Furthermore the format should be changed so that it would be easy to manage sections such as [DirMenu] directly in a text editor (now it's quite awkward).
3) tc_hist.ini for history data (eg: [SearchName], [SearchIn], [SearchText], [RenameTemplates], [Command line history]). Thus it would be easier to get rid of history data. Tools such as 'TC History Cleaner' would go obsolete.
Last edited by jb on 2003-02-10, 23:11 UTC, edited 1 time in total.
- fabiochelly
- Power Member
- Posts: 603
- Joined: 2003-02-05, 12:03 UTC
- Location: Rambouillet, France
Why would you split the wincmd.ini file in 3 ?
It takes a few ms to load or save a text file like this in memory.
I think it's more simple like this.
It takes a few ms to load or save a text file like this in memory.
I think it's more simple like this.
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
- pdavit
- Power Member
- Posts: 1529
- Joined: 2003-02-05, 21:41 UTC
- Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
- Contact:
jb didn’t suggest 3 ini files for speed reasons fabiochelly.
Any way, I kinda find the idea very strange but at the same time very interesting somehow!!!
I don’t think though that the coding task will be that easy!
Any way, I kinda find the idea very strange but at the same time very interesting somehow!!!
I don’t think though that the coding task will be that easy!
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Christian Ghisler Rules!!!