Error in english TOTALCMD.HLP for TC 7.02a (confirmed)
Moderators: Hacker, petermad, Stefan2, white
Error in english TOTALCMD.HLP for TC 7.02a (confirmed)
I have to put UseIniInProgramDir key into wincmd.ini to make it working, even when i'm using RedirectSection for [Configuration].
Is it normal?
Is it normal?
Last edited by kotlomoy on 2008-03-18, 12:10 UTC, edited 2 times in total.
#213083 Single user license
BranchViewExtended
BranchViewExtended
This is clearly stated in TC help. The sense of that key is to overwrite the standard order of TC INI reading behaviour.I have to put UseIniInProgramDir key into wincmd.ini to make it working
This is wrong:[Configuration] is the only section that cannot be redirected.
IcfuHISTORY.TXT wrote:17.05.06 Added: ini section [Configuration] can now also be redirected via RedirectSection= option. The options AlternateUserIni= and UseIniInProgramDir= will always be read from the non-redirected file, though
This account is for sale
You are wrong. Consider my wincmd.ini:m^2 wrote:[Configuration] is the only section that cannot be redirected.
Code: Select all
[Configuration]
UseIniInProgramDir=7
AlternateUserIni=user.ini
RedirectSection=Configuration.ini
[Layout]
RedirectSection=Layout.ini
[Packer]
RedirectSection=Packer.ini
[Confirmation]
RedirectSection=Confirmation.ini
[Extensions]
RedirectSection=Extensions.ini
[Shortcuts]
RedirectSection=Shortcuts.ini
[PackerPlugins]
RedirectSection=PackerPlugins.ini
[FileSystemPlugins]
RedirectSection=FileSystemPlugins.ini
[ListerPlugins]
RedirectSection=ListerPlugins.ini
[ContentPlugins]
RedirectSection=ContentPlugins.ini
#213083 Single user license
BranchViewExtended
BranchViewExtended
I was late one second

It's not stated in TOTALCMD.HLP at all. All I found about UseIniInProgramDir:icfu wrote:This is clearly stated in TC help. The sense of that key is to overwrite the standard order of TC INI reading behaviour.
So it looks like the bug in TOTALCMD.HLP?TOTALCMD.HLP wrote:UseIniInProgramDir=0 This variable will only be read if the wincmd.ini is located in the same dir as the program.
It is the sum of the following values:
1: Use wincmd.ini in program dir if no other location is set via registry or parameters
2: Use wcx_ftp.ini in program dir if no other location is set via registry or parameters
4: Override registry settings (but not command line parameters)
#213083 Single user license
BranchViewExtended
BranchViewExtended
icfu wrote:This is wrong:[Configuration] is the only section that cannot be redirected.IcfuHISTORY.TXT wrote:17.05.06 Added: ini section [Configuration] can now also be redirected via RedirectSection= option. The options AlternateUserIni= and UseIniInProgramDir= will always be read from the non-redirected file, though

This part is not related to problem at all.icfu wrote:What part don't you understand?
This variable will only be read if the wincmd.ini is located in the same dir as the program.
Icfu
Ok, i'll try to explain.
Consider situation:
1. wincmd.ini is located in the same dir as the program.
2. [Configuration] section is redirected to Configuration.ini in the same dir as the program
2. UseIniInProgramDir is added into [Configuration] in Configuration.ini in the same dir as the program
In that situation, wincmd.ini is located in the same dir as the program., like TOTALCMD.HLP and you said, ok. But variable is not read, and nothing works.
It was my real problem.
Problem is: TOTALCMD.HLP not explained (like HISTORY.TXT does), that UseIniInProgramDir must be not redirected. IMHO, it's a mistake
#213083 Single user license
BranchViewExtended
BranchViewExtended
You are right, the English translation is wrong! I have copy&pasted without checking it for errors, sorry...
In German TC help (which I usually use) it's more or less correctly described, though the syntax sucks as well:
Icfu
In German TC help (which I usually use) it's more or less correctly described, though the syntax sucks as well:
=> This variable will only be read if it's located in the file wincmd.ini in the same directory as the program.Diese Variable wird nur gelesen, wenn sie sich in der Datei wincmd.ini im selben Verzeichnis wie das Programm befindet.
Icfu
This account is for sale
THX for confirmationicfu wrote:You are right, the English translation is wrong!

#213083 Single user license
BranchViewExtended
BranchViewExtended
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I think that this makes it clear: UseIniInProgramDir= must be in wincmd.ini, not the redirected ini.17.05.06 Added: ini section [Configuration] can now also be redirected via RedirectSection= option. The options AlternateUserIni= and UseIniInProgramDir= will always be read from the non-redirected file, though
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Hmm, actually, the subject of this topic is changed, so the name of this topic changed too.ghisler(Author) wrote:I think that this makes it clear: UseIniInProgramDir= must be in wincmd.ini, not the redirected ini.
The old name was "UseIniInProgramDir not redirected via RedirectSection". But that was no bug in TC, but in TC help.
So, there is
Error in english translation of TOTALCMD.HLP for TC 7.02a.
With one confirmation
#213083 Single user license
BranchViewExtended
BranchViewExtended
The description of UseIniInProgramDir has been updated in 7.03.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64