How can I refer to the ini files location

English support forum

Moderators: Hacker, petermad, Stefan2, white

HBB
Senior Member
Senior Member
Posts: 295
Joined: 2008-05-05, 21:31 UTC

Post by *HBB »

Hello Karl,

Please watch this (or directly download swf)
Very interesting, in my first attempt, I remember to see actually the folder of "wincmd.ini" in "Start path", but not now...
"%COMMANDER_INI%\.\" for "Start Path" always show the active panel directory!
This misleaded me...

I think that TC needs the Christian's help.

Kind regards
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hi, HBB.

Sorry to say so, but you still seem to be missing the point:

%COMMANDER_INI%\.\ is a piece of crap, syntactical nonsense. When reading it, T.C. drops the senseless part, %COMMANDER_INI%\., and only keeps the meaningful rest. This is a single backslash. A single backslash alone used as a foldername always means the root folder of the current drive.
(Yet, I vaguely remember having explained all this before.)

%COMMANDER_INI%\..\ does not always point to the root folder. It might point to the root folder on your system, but it definitely does not do so on mine (as can be told from one of my previous posts).
Yet, even on your system, %COMMANDER_INI%\.. should not point to any root folder, because your wincmd.ini file is located here: P:\Files\Programs\TotalCmd\wincmd.ini.
Therefore %COMMANDER_INI%\.. should point here on your system: P:\Files\Programs\TotalCmd.
This is true provided your %COMMANDER_INI% variable holds the correct value by now and no longer the garbled string that used to be in it.

Kind regards,
Karl
HBB
Senior Member
Senior Member
Posts: 295
Joined: 2008-05-05, 21:31 UTC

Post by *HBB »

Hi Karl,

%COMMANDER_INI% behaves as you described, this is OK. I tried this by batch files, no problem...

But, in button editor, a wrong dropdown menu is listed when "%COMMANDER_INI%\..\" is written into "Start Path".
I am trying to say this may cause a misunderstanding as I did.

According to me, TC should show correct drop down list (or no dropdown list if nonsense).

Best regards
User avatar
petermad
Power Member
Power Member
Posts: 16099
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

But, in button editor, a wrong dropdown menu is listed when "%COMMANDER_INI%\..\" is written into "Start Path".
Try %COMMANDER_INI%\.. without the quotation marks and the trailing backslash - that works for me.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply