To Christian Ghisler,
I want to show you a behaviour of TC in button editor.
I asked this in this topic and discussed with karlchen.
Situation of TC is as follows (WinXPPRO+SP3) :
- Ini location : P:\Files\Programs\TotalCmd\wincmd.ini
- Program Path : P:\Programs\TotalCmd\Win32 (No installation, portable usage)
- Execution : P:\Programs\TotalCmd\Win32\TOTALCMD.EXE /I=%COMMANDER_DRIVE%\Files\Programs\TotalCmd\wincmd.ini
As you see in this picture, Active panel shows C:\Program Files\Microsoft Office
In Button Editor, when I write %COMMANDER_INI%\..\ into Start path, the dropdown menu list the directories of C:\Program Files!..
In fact, I hoped that the drop down menu should list the directories of P:\Files\Programs\TotalCmd, since it is the folder in which wincmd.ini takes place. But not...
Is this a bug?
Regards
%COMMANDER_INI%\..\ in dropdown menu don't refer actual path
Moderators: Hacker, petermad, Stefan2, white
Hi, HBB.
The dropdown list is not shown by the field start path. It is shown by the field icon file.
By default, whenever you create a button, T.C. will fill the field icon file with the fully qualified filename which it finds in the field Command.
So you must have put the string "%COMMANDER_INI%\..\" into the field Icon File using copy and paste yourself.
But confirmed:
Provided the field icon file does not hold a valid filename, but a foldername like "%COMMANDER_INI%\..\", T.C. seems to get confused. It does not seem to expand %COMMANDER_INI%\..\ and appends foldernames to this string which it finds in the current folder. Here it was not the root folder, but folders found in C:\Utils instead.
Please, click on the [>>] arrow on the right hand side of Icon File, walk through the offered foldertree and select a valid filename.
Kind regards,
Karl
The dropdown list is not shown by the field start path. It is shown by the field icon file.
By default, whenever you create a button, T.C. will fill the field icon file with the fully qualified filename which it finds in the field Command.
So you must have put the string "%COMMANDER_INI%\..\" into the field Icon File using copy and paste yourself.
But confirmed:
Provided the field icon file does not hold a valid filename, but a foldername like "%COMMANDER_INI%\..\", T.C. seems to get confused. It does not seem to expand %COMMANDER_INI%\..\ and appends foldernames to this string which it finds in the current folder. Here it was not the root folder, but folders found in C:\Utils instead.
Please, click on the [>>] arrow on the right hand side of Icon File, walk through the offered foldertree and select a valid filename.
Kind regards,
Karl
Dear Karl,
You will see there a dropdown menu in start path. I do not know why you don't see.
For example, this wrong menu caused to misunderstanding for me about the behaviour of %COMMANDER_INI%\..\. This may mislead some other users like me.
I like TC and I am trying to contribute to TC for the improvements of it.
Best regards
Please look at the picture : Click to see pictureThe dropdown list is not shown by the field start path
You will see there a dropdown menu in start path. I do not know why you don't see.
Of course I know it. My aim is here to warn about bugs.Please, click on the [>>] arrow on the right hand side of Icon File, walk through the offered foldertree and select a valid filename
For example, this wrong menu caused to misunderstanding for me about the behaviour of %COMMANDER_INI%\..\. This may mislead some other users like me.
I like TC and I am trying to contribute to TC for the improvements of it.
Best regards
You bet I have done so before writing my reply.HBB wrote:Please look at the picture : Click to see picture
Because I tested it here to make sure. And the drop down list will not be displayed as long as the focus is inside the "start path" field, but only once you have clicked inside the "icon file" field and have put the "%COMMANDER_INI%\.." path in it.You will see there a dropdown menu in start path. I do not know why you don't see.
I assume that Christian will have read your posts.My aim is here to warn about bugs.
Yet, it is a minor nuisance only. No real damage can be done. So it may be fixed one day sooner or later I guess.
Karl
Hi, folks.
Total Commander 7.50a (24-Sept-2009)
Windows Vista Home Premium,32 bit
Side note
"\COMMANDER_INI" is no feature at all. In case on the root folder of a drive there is a folder named COMMANDER_INI, the quoted string would point there. That's all.
"%COMMANDER_INI%", if this was meant really, is not a feature either, but a T.C. internal environment variable which holds the fully qualified filename of the wincmd.ini file which the running T.C. instance is using.
Kind regards,
Karl
I can confirm that this little glitch has really been fixed.history.txt wrote:17.09.09 Fixed: Auto-complete: Handle special case: %envvar%\..\
Total Commander 7.50a (24-Sept-2009)
Windows Vista Home Premium,32 bit
Side note
"\COMMANDER_INI" is no feature at all. In case on the root folder of a drive there is a folder named COMMANDER_INI, the quoted string would point there. That's all.
"%COMMANDER_INI%", if this was meant really, is not a feature either, but a T.C. internal environment variable which holds the fully qualified filename of the wincmd.ini file which the running T.C. instance is using.

Kind regards,
Karl