Why do we need a new file "tcDirFrq.txt"?
Moderators: Hacker, petermad, Stefan2, white
Why do we need a new file "tcDirFrq.txt"?
TC11.00b1
Not really a bug, but I also don't see it as a suggestion. More like a discussion on TC11:
Why is there a need for an extra file "tcDirFrq.txt"?
Why can't the contained information just be stored in the regular TC ini file (just like recent search strings, left/right history, etc.)?
Imho, creating a new file for this information just clutters the centralized and clean ini-concept of TC.
If someone really needs/wants a separate file for the folder access frequencies, there is still the option to use RedirectSection.
Not really a bug, but I also don't see it as a suggestion. More like a discussion on TC11:
Why is there a need for an extra file "tcDirFrq.txt"?
Why can't the contained information just be stored in the regular TC ini file (just like recent search strings, left/right history, etc.)?
Imho, creating a new file for this information just clutters the centralized and clean ini-concept of TC.
If someone really needs/wants a separate file for the folder access frequencies, there is still the option to use RedirectSection.
Re: Why do we need a new file "tcDirFrq.txt"?
Totally agree.funkymonk wrote: Imho, creating a new file for this information just clutters the centralized and clean ini-concept of TC.
If someone really needs/wants a separate file for the folder access frequencies, there is still the option to use RedirectSection.
- zhugecaomao
- Junior Member
- Posts: 18
- Joined: 2022-08-23, 05:08 UTC
Re: Why do we need a new file "tcDirFrq.txt"?
Agreed~funkymonk wrote: 2023-05-04, 21:42 UTC TC11.00b1
Not really a bug, but I also don't see it as a suggestion. More like a discussion on TC11:
Why is there a need for an extra file "tcDirFrq.txt"?
Why can't the contained information just be stored in the regular TC ini file (just like recent search strings, left/right history, etc.)?
Imho, creating a new file for this information just clutters the centralized and clean ini-concept of TC.
If someone really needs/wants a separate file for the folder access frequencies, there is still the option to use RedirectSection.
Total Commander Version 11.51RC5 64 bit
Re: Why do we need a new file "tcDirFrq.txt"?
I support you very much. Especially considering the fact that in a convenient GUIsettings there are no place for changing the path to this file by mouse. Everything must be done manually in the INI file directly. Well, at least it turned out that there is an option to disable this "feature". True, in a very non-intuitive place. And in general it is not clear - why should the context menu be displayed for the list of folders from the history of their visit?
#146217 personal license
Re: Why do we need a new file "tcDirFrq.txt"?
BTW: In combination with RedirectSection, storing the folder access frequencies with TC's regular ini-concept can be
1. easily outsourced even to a computer-specific file (for portable TCs);
2. easily disabled by simply setting the read-only attribute for the referenced file.
1. easily outsourced even to a computer-specific file (for portable TCs);
2. easily disabled by simply setting the read-only attribute for the referenced file.
Re: Why do we need a new file "tcDirFrq.txt"?
The reason for this could be the different format of the entries and the different coding of the files.
"War is evil, in so far as it makes more bad people than it takes away."
Immanuel Kant in "Perpetual Peace"
Immanuel Kant in "Perpetual Peace"
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Why do we need a new file "tcDirFrq.txt"?
The new location under Appdata\local is used so you get different statistics depending on the PC you are on, even when the ini file is stored on the network. That would be better for the history too, but at the time when I created this, Windows 3.1 and later Windows 95 were mostly standalone systems.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Why do we need a new file "tcDirFrq.txt"?
Im not sure if that works on 3.x/9x-System but wouldnt it be easier to use Mac-Adress/PC-Name for that?ghisler(Author) wrote: 2023-05-05, 14:37 UTC The new location under Appdata\local is used so you get different statistics depending on the PC you are on, even when the ini file is stored on the network. That would be better for the history too, but at the time when I created this, Windows 3.1 and later Windows 95 were mostly standalone systems.
IMHO a program is NOT portable the moment it saves data in the registry/app-folder of the pc used.
Hoecker sie sind raus!
Re: Why do we need a new file "tcDirFrq.txt"?
That is the desirable behaviour of a portable programSir_SiLvA wrote: IMHO a program is NOT portable the moment it saves data in the registry/app-folder of the pc used.
Re: Why do we need a new file "tcDirFrq.txt"?
I use TC as portable app.ghisler(Author) wrote: 2023-05-05, 14:37 UTC The new location under Appdata\local is used so you get different statistics depending on the PC you are on,
Please keep mostly all TC related files in the TC folder and do not spread it into different locations.
Especially such sensible data.
Even worst this is enabled on default, and if I wouldn't read this forum I wouldn't notice
that I leave back such data on the PC I used on a location I didn't know about as I think I use TC as portable.
And I want to make a backup by just copying my TC folder and use it e.g. on an Test-PC.
But since I doesn't copy that tcDirFrq.txt too, I can't use this feature on my Test-PC.
What if I have TC on an USB-Stick and use that on an customer PC?
I would leave back the tcDirFrq.txt?
Maybe use the hostname in the file name if you want to keep different statistics for different PCs.
Like "tcDirFrq_TestPC01.txt", but please keep it beneath of the TC-folder.
Only use AppData if the TC-folder is write protected.
Re: Why do we need a new file "tcDirFrq.txt"?
I think a user creating a portable TC can be tasked with making the necessary adjustments to wincmd.ini - which must be made anyway for things like UseIniInProgramDir and probably others. And in such cases, DirUsageLocation should be set to some write-protected location.
As I already said in the other thread: Don't assume that the TC directory is writable, because most of the time it's not (unless you're an administrator)!
[EDIT]
[/EDIT]
Regards
Dalai
As I already said in the other thread: Don't assume that the TC directory is writable, because most of the time it's not (unless you're an administrator)!
[EDIT]
Yes, you can. Set DirUsageLocation to %COMMANDER_PATH% and you'll copy this file along with the TC directory.And I want to make a backup by just copying my TC folder and use it e.g. on an Test-PC.
But since I doesn't copy that tcDirFrq.txt too, I can't use this feature on my Test-PC.
Set DirUsageLocation to %COMMANDER_PATH% or a read-only or non-existent location (e.g. C:\nul) in such cases to avoid leaving this file behind. But it's not that this file contains any secrects related to your TC. It's this particular PC's directories after all.What if I have TC on an USB-Stick and use that on an customer PC?
I would leave back the tcDirFrq.txt?
[/EDIT]
Regards
Dalai
Last edited by Dalai on 2023-05-05, 17:40 UTC, edited 2 times in total.
#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
Re: Why do we need a new file "tcDirFrq.txt"?
Me think, one single ""UseIniInProgramDir=7"" should make it all.
AND he must know about what's needed at first place.
Re: Why do we need a new file "tcDirFrq.txt"?
It's not that just this setting alone is going to make TC portable. There's much more to consider, like paths to plugins, the button bar buttons, paths in internal associations, ThumbsLocation[1], TreeFileLocation[1], DriveLib, IconLib and probably many more. They likely need to be adjusted to make TC fully portable.Stefan2 wrote: 2023-05-05, 17:33 UTCMe think, one single ""UseIniInProgramDir=7"" should make it all.
[1] These are located in %LocalAppData% by default by the way, same as DirUsageLocation.
True. It's enough noise about this feature now, isn't it?

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
Re: Why do we need a new file "tcDirFrq.txt"?
To repeat and support what Dalai said
It's enough noise about this feature now.
It looks like just because one user sees no usage of this new feature
we discuss funny things around it.
Btw. I like it
It's enough noise about this feature now.
It looks like just because one user sees no usage of this new feature
we discuss funny things around it.

Btw. I like it

Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: Why do we need a new file "tcDirFrq.txt"?
Wrong. There are all directories saves there - including paths from the portable drive, from network drives and from plugins used by this TC instance.
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator