Bug with IconLib in INI

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
robinsiebler
Senior Member
Senior Member
Posts: 460
Joined: 2003-03-05, 21:04 UTC

Bug with IconLib in INI

Post by *robinsiebler »

I have several machines that I wanted to install TC on and I wanted them to have the same setup. However, TC is installed on different drives on some of the machines. So, I edited the ini file and replaced all the paths in the INI file with relative paths. Everything worked just fine (all of the plugins). The only thing that didn't work was the line for the IconLib. In order to get that to work, I had to set the COMMANDER_PATH variable. It seems to me that if everything else works just fine with relative paths, that should as well.
Robin L. Siebler
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2robinsiebler

There is no bug in Iconlib in TC 6.x - > it works fine.
I had to set the COMMANDER_PATH variable.
Do you mean you set up this variable system wide? This is not necessary, it's set by TC.
It seems to me that if everything else works just fine with relative paths, that should as well.
You should never use relative paths in Wincmd.ini.
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Stupid question...

Post by *Clo »

2robinsiebler

:D Hi!
:?: Certainly a stupid question: did you install one IconLib per TC copy, or do you use a single one through a LAN?
:roll: I've a small LAN @ home too, I often make the same than you about INI files (to keep settings, especially the button-bars, very long to redo!) and I install always one IconLib per TC-dir. ... No problem.
:) Glad to hear from you,
Kind regards,
Claude,
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
robinsiebler
Senior Member
Senior Member
Posts: 460
Joined: 2003-03-05, 21:04 UTC

Post by *robinsiebler »

Every machine has the exact same files. All files are local to the machine.

This works:
[ListerPlugins]
0=.\Plugins\ieview.wlx

So, this should work as well:

[Configuration]
IconLib=.\Icons\WinXP2.icl

However, I have to use this instead:

[Configuration]
IconLib=%COMMANDER_PATH%\Icons\WinXP2.icl
Robin L. Siebler
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2robinsiebler
So, this should work as well:

[Configuration]
IconLib=.\Icons\WinXP2.icl
Relative to which path? TC-Path, current path or whatever? Using relative paths is not recommanded.
[Configuration]
IconLib=%COMMANDER_PATH%\Icons\WinXP2.icl
This is how you should adapt all paths in your ini file.
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Lines---

Post by *Clo »

:D Hi!
:arrow: One PC: IconLib=c:\totalcmd\wcicolib.icl

:arrow: another: IconLib=d:\wincmd\wcicolib.icl

:arrow: my son's one: IconLib=c:\totalcmd\wcicolib.icl
No problem...
:mrgreen: Kind regards,
Clo
Last edited by Clo on 2004-01-09, 19:51 UTC, edited 2 times in total.
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
robinsiebler
Senior Member
Senior Member
Posts: 460
Joined: 2003-03-05, 21:04 UTC

Post by *robinsiebler »

Relative to the Total Commander. Look, it's a bug. You don't have to agree with me. I posted this so Christian would see it.
Robin L. Siebler
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

example---

Post by *Clo »

2robinsiebler
:oops: Sorry, I was just to show an example. Edit problem...
I fix this
regards
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]On 09-01-2004 21:03:27 +0000 robinsiebler wrote:

r> This works:
r> [ListerPlugins]
r> 0=.\Plugins\ieview.wlx

r> So, this should work as well:

r> [Configuration]
r> IconLib=.\Icons\WinXP2.icl


Actually not.

C.G. wrote:

TC looks for .\ (already in TC 5.51) and interprets it as the
installation dir (replaces it with the full dir). However,
this is only done for the two ini files, not in any other
places.

So, this is not a bug. This is feature %).[/face]
Post Reply