How to save 2 or 3 different Window Position?

English support forum

Moderators: Hacker, petermad, Stefan2, white

batchman61
Junior Member
Junior Member
Posts: 44
Joined: 2003-02-07, 19:24 UTC
Location: Germany

Post by *batchman61 »

Is there any chance to implement "INSTANCE_NAME" to support definition of multiple named configurations ?
Displaying INSTANCE_NAME as an (optional) addition on the Window-Title would allow to distinguish instances by purpose (instead of sequence).
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

batchman61,
You can start different TC instances from some batch file that will define some envvar like INSTANCE_ID, and you can set different icon sets for different instances using this envvar in IconLib parameter in wincmd.ini so your different instances will have different icons. Perhaps it will be even better than names in titles.

Code: Select all

@echo off
set INSTANCE_ID=foo
start "" "%~dp0\TOTALCMD.exe" %*
(totalcmd_foo.bat file in TC directory)

Code: Select all

[Configuration]
...
IconLib=%COMMANDER_PATH%\icons_%INSTANCE_ID%.icl
...
(wincmd.ini fragment)
Post Reply