TC 6.55 and %Commander_INI%

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

TC 6.55 and %Commander_INI%

Post by *ts4242 »

today i discovered that TC 6.55 set a new enivroment variable %Commander_INI% it is refere to the current Wincmd.ini used by TC :o
it is greate addition, i returned to History.txt but didn't find any thing about this new addition Why?

%Commander_INI% refer only to Wincmd.ini, what about wcx_ftp.ini? is there %Commander_ftpINI% but not implemented yet?
hope so
User avatar
XPEHOPE3KA
Power Member
Power Member
Posts: 854
Joined: 2006-03-03, 18:23 UTC
Location: Saint-Petersburg, Russia

Post by *XPEHOPE3KA »

2ts4242
How did you find it? :?

<Edit>
Ah, yes! Silly question :)
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

It seemed to be in experimental state.

Using an TC instance started from USB stick in addition to my desktop instance, shows correct values for %COMMANDER_PATH% but %COMMANDER_INI% of USB- instance is wrong (points to Desktop-instance location).

Help/About dialog shows correct values for every instance.
#5767 Personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, it's experimental.
Using an TC instance started from USB stick in addition to my desktop instance, shows correct values for %COMMANDER_PATH% but %COMMANDER_INI% of USB- instance is wrong (points to Desktop-instance location).
I cannot confirm that. How is the ini path defined for your USB stick installation? Did you really open the DOS box from within THAT specific Totalcmd instance?
Author of Total Commander
https://www.ghisler.com
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

:oops: My fault : I used 2 different versions.

The desktop instance is 6.55pb2 while USB version still has 6.54a

With this mixed environment it only inherits the environment of its parent without any chance to update it.
How is the ini path defined for your USB stick installation?
I start the USB-instance from within the desktop instance via "Launch TC" located in the USB root.

Code: Select all

[LaunchTC]
CmdLine=.\_DirectRun\TotalCmd\TotalCmd.EXE /i=.\WINCMD.INI /f=.\wcx_ftp.ini
At the started instance I enter CMD at its commandline.
At the DOS box I enter SET

Code: Select all

COMMANDER_INI=C:\WinTools\TotalCmd\wincmd.ini
COMMANDER_PATH=L:\_DirectRun\TotalCmd
Using both 6.55pb2 versions it works fine :)
#5767 Personal license
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

2Ghisler

What about Wcx_ftp.ini?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The desktop instance is 6.55pb2 while USB version still has 6.54a
Ah, I see - 6.54a didn't set the variable...
What about Wcx_ftp.ini?
Programs shouldn't mess around with that. Why do you need it?
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

ghisler(Author)
Programs shouldn't mess around with that. Why do you need it?
It can be very useful for ts4242's Ultra TC Configuration Editor.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
XPEHOPE3KA
Power Member
Power Member
Posts: 854
Joined: 2006-03-03, 18:23 UTC
Location: Saint-Petersburg, Russia

Post by *XPEHOPE3KA »

It can be very useful for ts4242's Ultra TC Configuration Editor.
And for all other TC tweak tools! It is a must to have such an environment var.
F6, Enter, Tab, F6, Enter, Tab, F6, Enter, Tab... - I like to move IT, move IT!..
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

ghisler(Author) wrote:Programs shouldn't mess around with that. Why do you need it?
for the same %Commander_INI% reason, isn't Wcx_ftp.ini is TC's INI file?
vserd
Junior Member
Junior Member
Posts: 27
Joined: 2005-04-26, 13:30 UTC

Post by *vserd »

if wincmd.ini in C:\windows folder %commander_ini% show only file name. Its not correct. (in other cases show a full path).
If use %commander_ini% from plugin, best solution always use full path.
User avatar
Hacker
Moderator
Moderator
Posts: 13067
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

if wincmd.ini in C:\windows folder %commander_ini% show only file name. Its not correct. (in other cases show a full path).
Confirmed.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will try to reproduce it, thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply