Why isn't TCSTART.BTM run?

May 20, 2008
Syracuse, NY, USA
This may have something to do with my thread about the console caption; I don't know. There is at least one difference between the two computers.
On my work computer, TCSTART.BTM is NOT run by any instance of TCC v16. And I can't figure out why. Everything seems to be set up right. Here's a clip from a normal instance of TCCv16 on that computer, started from Start\Run with /ip.
d:\tc16> echo %_ininame

d:\tc16> grep -i startpath %_ininame

d:\tc16> head /n3 d:\tc16\tcstart.btm
echo PPID = %_PPID

Regardless of how I start TCC v16 on that machine, I do not see the message that TCSTART.BTM should produce. And other things done in TCSTART.BTM also don't get done.

Any ideas?


Staff member
May 14, 2008
TCC doesn't do anything complicated when looking for and executing TCSTART. There's only three possible reasons why TCSTART wouldn't be executed:

1) It's finding another TCSTART first
2) You have a privilege issue
3) TCSTART isn't there

Try running "echo %_tcstart".

(BTW, "4StartPath" (the obsolete name) and "TCStartPath" map to the same TCMD.INI directive, so there isn't any point in having both of them.)
May 20, 2008
Syracuse, NY, USA
If I watch with ProcessMonitor, I see

QueryDirectory d:\tc16\tcstart.* SUCCESS
QueryDirectory d:\tc16\tcstart.com NO_SUCH_FILE
more like that, for EXE, BAT, CMD, VBS, VBE, JS, JSE, WSF, WSH, MSC

But there's no QueryDirectory for TCSTART.BTM!

.BTM is not listed in PATHEXT. That doesn't bother TCCv15. Adding it made TCCv16 work correctly. Why the change?

It also changed the behavior described my other thread about the elevated console caption. I'll comment there in a minute.
May 20, 2008
Syracuse, NY, USA
If you have PATHEXT set, TCC will only look for files with the specified extensions.
Has it worked that way for a long time? When I tried TCC15 on the computer with PATHEXT set but not containing .BTM I saw that TCSTART.BTM was being executed (or so I thought).
May 26, 2008
(BTW, "4StartPath" (the obsolete name) and "TCStartPath" map to the same TCMD.INI directive, so there isn't any point in having both of them.)
If I remove 4StartPath from the INI file, using OPTION and then pressing OK puts it back in.
Similar threads
Thread starter Title Forum Replies Date
vefatica JUMPLIST item when pinned TCMD isn't running? Support 0
vefatica @EXECSTR ... TCSTART ... something's wrong! Support 7
Charles S. Roaten Problems with TCSTART.BTM Support 1
D TCSTART issue after reinstallation Support 14
D check for network tcstart.btm and load if newer Support 3
Craig Fitzgerald Problems using tcstart.btm Support 3
dcantor How to? Batch file to be executed by TCSTART Support 4
thorntonpg TCC_RT_21\tcc.exe runs tcstart Support 4
JohnQSmith ALIAS /R in TCSTART.BTM Support 9
A 18.00.21 tries to cancel TCSTART.BTM Support 3
p.f.moore How to? User specific TCSTART (etc) files Support 15
MickeyF Why does my tcstart.btm sometimes terminate tcc.exe? Support 4
M Mysteriously to me TCStart.btm is not being executed... Support 2
S Fixed Stand-alone TCC 14.02.43 hangs before TCSTART Support 3
Peter Murschall Is IDE forbidden in TCSTART.BTM ? Support 4
vefatica TCSTART and TCEXIT not executed Support 7
fpefpe tcstart and plugin Support 4
Ville Command line variable in tcstart.btm? Support 7
G PROMT command in TCSTART.BTM Support 3
Phileosophos Enabling PathExt disables tcstart.btm processing Support 9
vefatica Console not redrawn in BTM or with multiple commands Support 4
Joe Caverly Embedding an .EXE (or other file) into a .BTM Support 8
P Kill all other instances of tcc from a btm batch file Support 2
C TCC 26 BATCOMP BTM problems? Support 5
B IF command problem in tcexit.btm Support 9
vefatica WAD DIR.BTM? Support 11
vefatica BTM, elevated, console window caption? Support 4
I BTM slower than BAT? Support 14
D btm file command line augments comparing for string or math. Support 12
vefatica Installer sets BTM associations wrongly Support 4
O I cannot use links to .btm files Support 5
CWBillow Can't right-click a BTM Support 7
C NE1 have BTM to remove %appdata\JP Software\ etc... Support 0
C interesting TCStarts.btm Support 2
Paul Berwanger BTM Bugs Support 2
M Drag and Drop for .BTM scripts Support 10
D WAD START /ELEVATED "Title" /PGM "job.btm" Support 6
C How to? run a BTM in elevated, inv tcc tab window Support 9
Roedy How to? Understanding BTM file properties Support 0
Fross GetOpt.btm Support 0
Roedy BTM file encoding Support 13
C How to? Add date/time to custom tpipe based BTM Support 1
thedave Problem chaining piped FIND commands in BTM Support 7
P Concatenating strings in a BTM Support 3
C Cmpr_Del.btm need help understanding UDF..... Support 2
R Unable to start any BTM file from Explorer Support 5
G .BTM association doesn't work anymore Support 1
B How to? why does my BTM stop Support 2
redwdc btm won't run in ver. 17 but works in ver. 16 Support 11
I How to? Bat Works but BTM Doesn't Support 6

Similar threads