Fresh instance of TCMD does not use TCMD.INI

Apr 13, 2010
302
7
61
The Hague
... when the installer launches the program at the end.

Its fine after a restart. But, why end the installer like this? If you can't start TC with the right config I would strongly suggest not offering to start it.

Regards, DJ
 
Apr 13, 2010
302
7
61
The Hague
Code:
C:\...\prj :-) >echo "%_ininame"
"C:\ProgramData\JP Software\Take Command 20.0\TCMD.INI"

C:\...\prj :-) >
 

rconn

Administrator
Staff member
May 14, 2008
12,340
149
Code:
C:\...\prj :-) >echo "%_ininame"
"C:\ProgramData\JP Software\Take Command 20.0\TCMD.INI"

C:\...\prj :-) >

I don't know what you're saying here -- is that the TCMD.INI after installing, or after restarting? And are you using the default location for TCMD.INI? (And do you have more than one TCMD.INI in your system?)
 
Apr 13, 2010
302
7
61
The Hague
Yes, I have only 1 configuration. As show above both name and location are default.

Perhaps I was a little short on context in my original question. Sorry.

What I saw was, when the installer showed me the final screen and I ticked "Run TakeCommand", installer exited and TCMD was started but the TCStart that my TCMD.INI points to was not executed. Perhaps I jumped to conclusions, but that led me to think that the command to run TCMD in the installer was intensionally setup to ignore either the ini-file or the startup batches.

So let me rephrase my original observation that: (at least in my case) "the fresh instance of TCMD started by the installer did not run TCStart or TCexit although an immediate subsequent restart using my usual hyperlink proved that TCMD.INI and both startup batches were still setup correctly."
 

rconn

Administrator
Staff member
May 14, 2008
12,340
149
That is not reproducible here. The installer starts TCMD with no options (forcing the default values); assuming when you start TCMD again you're also not passing any options, it should be identical. (And also assuming you have an existing TCMD.INI, so what you're seeing is not that TCMD is creating a default TCMD.INI when the first instance exits.)

When you did the "echo %_ininame", was that in the installer-started TCMD instance, or the subsequent instance?
 
Apr 13, 2010
302
7
61
The Hague
The echo was - as I wrote earlier - after using my usual link which doesn't use any parameters because I never use non-default ini-files. So the link worked as usual wheras the instance the installer launched apparently failed to find any TCMD.INI.

Never mind. From your last reply I now know that at least it is not by design. It is an event that I cannot reproduce because I did not make a full image backup before installing TC 20. Let's put it off as "unexplained aberrant behaviour due to user <insert any attribute here>".

Regards, DJ.
 
Similar threads
Thread starter Title Forum Replies Date
B Batch file won't run if there is already an instance of TC 17 running Support 9
A How to? How do you launch TCC/LE using the already-open instance? Support 5
C Single Instance not honored? Support 2
nikbackm Piping to new TCC instance crashes it Support 1
E Single instance/TCMD Here problem Support 7
D TCMD /X option Support 1
vefatica TCMD hides itself! Support 3
vefatica Tray min'd TCMD and ACTIVATE Support 6
C How to? starting TCC/TCMD v25 Support 2
CWBillow TCC and TCMD in Powershell Support 6
kb6ojs How to? "Specified Account Already Exists" error installing TCMD v27 Support 12
CWBillow TCMD Colors Support 8
Jay Sage Issues With TCMD File Explorer Support 0
C Last TCMD that supports win 7? Support 5
gentzel TCMD background color confusion Support 6
R Upgrade TCMD 19 to TCC 26 Support 1
Alpengreis Remaining TCMD background process (v26) ... Support 19
S Windows Server version not being detected correctly in TCMD 26RC2 Support 9
G TCMD crash when copy Support 3
Joe Caverly DrawVLine results different in TCMD tab and detached TCC Support 11
Alpengreis [TCMD v25.00.24] Small space problem with the DE translation in Prefs-GUI Support 1
Alpengreis [TCMD v25.00.24] Problem with copy and paste and the # char via mouse in TCC Support 6
Jay Sage TCMD Crashes with "tctoolbar /c /r file" Support 5
nikbackm TCMD 25 - Unregister older TCMD version Support 2
G Documentation on TCMD.INI Support 9
R New Clear Buffer in TCMD Home Menu Support 2
CWBillow Back up TCMD tabs Support 2
CWBillow Upgrade Windows 10's effect on TCMD and TCC Support 3
DrusTheAxe TCMD 24.02.49 x64 crashed due to DivideByZero :-( Support 4
A After update to 24.02.49, helpfile tcmd.chm hangs when opened Support 0
David McClelland TCMD 24 & Perl - perl thinks it's own executable is ...\TCMD24\TCC.EXE??? Support 3
dcantor How to? Can 32-bit TCC be run on a system with 64-bit TCMD and TCC installed? Support 6
W pdir returns diff results between tcc and tcmd - one is an error msg Support 5
vefatica What's TCMD's problem with ^e[0m? Support 13
CWBillow TCMD PowerShell Tab elevated Support 6
A How to? Copy+Paste in TCMD tabs with Ctrl-Shift-Ins? Support 5
vefatica TCMD output invisible on Win10 Support 22
J Moving from TCC v22 to TCMD v24 issues Support 3
RChrismon How to? Copy TCMD.INI to New Version Support 7
rps TCMD OPTIONS dialog Support 2
rps TCMD Tabs priority option setting Support 0
D Can we fix the scaling for TCmd? Support 14
CWBillow TCMD Tab Defs Support 4
A How to? TCMD Configuration Dialog: 'Smooth Scrolling' Option missing? Support 1
A Fixed [23.0.22]: TCMD crashes shortly after start, TCC keeps running in background Support 6
A TCMD - Dir Command puts out blank lines? Support 16
P Symantec Endpoint Protection trapped TCMD.EXE and said it contained WS.Reputation.1 (Virus?) Support 3
Emilio III TCMD Tab titles on Insider Windows Support 2
kb6ojs Want to start TCMD v20 with every Windows 10 bootup Support 3
D Tcmd 22.00.42 - annoying desktop refresh Support 47

Similar threads