What mean is the option?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Kevin.Lee.5v
Junior Member
Junior Member
Posts: 34
Joined: 2005-01-20, 03:19 UTC

What mean is the option?

Post by *Kevin.Lee.5v »

UseIniInProgramDir
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

From the Famous manual---

Post by *Clo »

2Kevin.Lee.5v
:) Hello!
¤ From the Help :
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)
:mrgreen: K R
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Leif
Senior Member
Senior Member
Posts: 328
Joined: 2003-02-05, 15:44 UTC
Location: Umeå, Sweden

Post by *Leif »

UseIniInProgramDir=7 is very useful if you run TC from an USB stick
User avatar
szlori
Senior Member
Senior Member
Posts: 263
Joined: 2005-01-17, 07:12 UTC
Location: Sydney

Post by *szlori »

Leif wrote:UseIniInProgramDir=7 is very useful if you run TC from an USB stick
Be careful about UseIniInProgramDir=8. :lol:
Kevin.Lee.5v
Junior Member
Junior Member
Posts: 34
Joined: 2005-01-20, 03:19 UTC

Post by *Kevin.Lee.5v »

That is to say, first TC read ini-file in program dir in any case.

Then if UseIniInProgramDir=3 and other location is set via registry, TC read another ini-file again to overrides the first, doesn't it?

If UseIniInProgramDir=7 and no other location is set via parameters, TC read only ini-file in program dir, doesn't it? Then needn't I the programs like Total Commander Loader after???
Kevin.Lee.5v
Junior Member
Junior Member
Posts: 34
Joined: 2005-01-20, 03:19 UTC

Post by *Kevin.Lee.5v »

Be careful about UseIniInProgramDir=8.
What's mean?
User avatar
szlori
Senior Member
Senior Member
Posts: 263
Joined: 2005-01-17, 07:12 UTC
Location: Sydney

Post by *szlori »

Kevin.Lee.5v wrote:
Be careful about UseIniInProgramDir=8.
What's mean?
I was joking (kindda techy joke). :wink:
I assumed the individual values that add up to the final value of UseIniInProgramDir are the powers of 2 (probably because TC is checking the first 3 bits for each value accordingly).
Than 8 would actually be same as 0, since all first 3 bits are 0.
Post Reply