Bug with IconLib in INI
Moderators: Hacker, petermad, Stefan2, white
- robinsiebler
- Senior Member
- Posts: 460
- Joined: 2003-03-05, 21:04 UTC
Bug with IconLib in INI
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
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
2robinsiebler
There is no bug in Iconlib in TC 6.x - > it works fine.
There is no bug in Iconlib in TC 6.x - > it works fine.
Do you mean you set up this variable system wide? This is not necessary, it's set by TC.I had to set the COMMANDER_PATH variable.
You should never use relative paths in Wincmd.ini.It seems to me that if everything else works just fine with relative paths, that should as well.
Stupid question...
2robinsiebler
Hi!
Certainly a stupid question: did you install one IconLib per TC copy, or do you use a single one through a LAN?
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




Kind regards,
Claude,
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
- robinsiebler
- Senior Member
- Posts: 460
- Joined: 2003-03-05, 21:04 UTC
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
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
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
2robinsiebler
Relative to which path? TC-Path, current path or whatever? Using relative paths is not recommanded.So, this should work as well:
[Configuration]
IconLib=.\Icons\WinXP2.icl
This is how you should adapt all paths in your ini file.[Configuration]
IconLib=%COMMANDER_PATH%\Icons\WinXP2.icl
Lines---




No problem...

Clo
Last edited by Clo on 2004-01-09, 19:51 UTC, edited 2 times in total.
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
- robinsiebler
- Senior Member
- Posts: 460
- Joined: 2003-03-05, 21:04 UTC
example---
2robinsiebler
Sorry, I was just to show an example. Edit problem...
I fix this
regards
Clo

I fix this
regards
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
[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]
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]
[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]