Article: Finding the paths of Total Commander files

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Article: Finding the paths of Total Commander files

Post by *Alextp »

Last edited by Alextp on 2007-10-25, 22:28 UTC, edited 1 time in total.
User avatar
petermad
Power Member
Power Member
Posts: 16027
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Alextp

There is a little language thing - in "Finding the TC main config file" - "2. OPTIONAL step." you write:
Note that this is the very exotic way, and I don't recommend to use it unless you hardly need it in your application.
When using the word hardly this way it actually means: "unless you barely need it" - I don't think that is what you want to say here. I suggest that you change it to something like:

"unless you really need it in your application".
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2petermad
OK, you are right, changed to "really need it".
User avatar
Leif
Senior Member
Senior Member
Posts: 328
Joined: 2003-02-05, 15:44 UTC
Location: Umeå, Sweden

Post by *Leif »

Very minor typo: algorythm --> algorithm
Get Radio? Sure! - the best Internet Radio Player ever! ;)
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Leif,
Fixed.
User avatar
Leif
Senior Member
Senior Member
Posts: 328
Joined: 2003-02-05, 15:44 UTC
Location: Umeå, Sweden

Post by *Leif »

Programmer's typical typo: goto --> go to :wink:
Get Radio? Sure! - the best Internet Radio Player ever! ;)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2Alextp
Yes, it seems to be right, %COMMANDER_PATH% exists since TC 6.0.

Maybe you should write that plugins should normally NOT worry at all about these paths, but use the DefaultIniName file (or location with different file name) from the *SetDefaultParams function instead. Why? The plugin may be called by a third party program like universal viewer or other tool, not by Total Commander itself!
Author of Total Commander
https://www.ghisler.com
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Thanks for note Christian. It's added to the end of file.
Post Reply