Mysteriously to me TCStart.btm is not being executed...

May 24, 2010
855
0
Northlake, Il
... when a new TCC session is started. So first as a series of background issues:

There's only one TCStart.btm file in the entire system:
Code:
[[C:\Program Files\JPSoft\TCMD14x64]Type NUL: >Z:\TCStartList.txt
 
[C:\Program Files\JPSoft\TCMD14x64]For %D in (C E Z) Do (PDir %D:\TCStart.btm /(dy/m/d th:m:s zc fpn) /S /A-D) >>Z:\TCStartList.txt
 
[C:\Program Files\JPSoft\TCMD14x64]Type Z:\TCStartList.txt
2013/01/26 21:24:25            632 C:\Program Files\JPSoft\TCMD14x64\TCStart.btm
 
[C:\Program Files\JPSoft\TCMD14x64]
C: and E: are the only physical drives in the system (D: is a DVD drive), Z: is a RAM disk.

A session start.
Code:
  Sat  Jan 26, 2013  10:02:23p
 
Chill v1.1.0 loaded.
HTags plugin v0.60.3 loaded.
HTMLDump plugin v1.0.5 loaded.
ISO8601 plugin v1.3.7 loaded.
PopInfo v1.0.3 loaded; hotkey is Control-Q.
QCAL plugin v1.3.7 loaded.
SafeChars plugin v1.7.0 loaded.
Say plugin v1.0.7 loaded.
 
TCC  14.03.53 x64  Windows 7 [Version 6.1.7601]
Copyright 2012 JP Software Inc.  All Rights Reserved
Registered to Daniel Mathews
 
[C:\Program Files\JPSoft\TCMD14x64]Alias >Z:\AliasList.txt
TCC: No aliases defined
 
[C:\Program Files\JPSoft\TCMD14x64]Function >Z:\FunctionList.txt
TCC: No functions defined

The TCStart.btm that will (should) be executed and the results of executing it:
Code:
[C:\Program Files\JPSoft\TCMD14x64]*Dir TCStart.btm
 
Volume in drive C is Windows        Serial number is b2cb:b200
Directory of  C:\Program Files\JPSoft\TCMD14x64\TCStart.btm
 
1/26/2013  21:24            632  TCStart.btm
              632 bytes in 1 file and 0 dirs    4,096 bytes allocated
    66,820,882,432 bytes free
 
[C:\Program Files\JPSoft\TCMD14x64]Type TCStart.btm
@Echo Off
If %_Pipe != 0 .OR. %_Transient != 0 Quit
MsgBox /1"Message Box" /M /O /S OK
CDD C:\
CDD E:\
Alias /R E:\Dos\Alias.txt
Set _CRLF=^R^N
Call E:\DOS\Functions.btm
Title PID %_PID %@IF[%_X64 == 1,64,32]-bit
If "%TreeExclude" == "" ^
  Set TreeExclude=A:;B:;C:;D:;E:;F:;G:;H:;I:;J:;K:;L:;M:;N:;O:;P:;Q:;R:;S:;T:;U:;V
:;W:;X:;Y:;Z:
Iff %@Index[%Path,E:\DOS] == -1 Then
  SetLocal
  Set EDOS=%@Index[%Path,C:\Windows\System32\WindowsPowerShell\v1.0]
  Iff %EDOS == -1 Then
      Set Path=%Path%E:\DOS
  Else
      Set Path=%@Left[%EDOS,%Path]E:\DOS;%@Instr[%EDOS,%Path]
  EndIff
  EndLocal Path
EndIff
 
[C:\Program Files\JPSoft\TCMD14x64]TCStart
 
[E:\]C:
 
[C:\Program Files\JPSoft\TCMD14x64]Alias >!Z:\AliasList.txt
 
[C:\Program Files\JPSoft\TCMD14x64]Type Z:\AliasList.txt
DC:=E:\Documents
DO:=E:\DOS
FI:=E:\Documents\Financial
JP:="C:\Program Files (x86)\JPSoft\TCMD14"
PF:=E:\Program Files
Ac*tualFiles=E:\DOS\Startx ActualFiles
Ad*dTrailingQuotes=E:\DOS\AddTrailingQuotes.btm
BD*TTMDir=(PDir %$ /A-D /S /(dy/m/d th:m:s zc fpn) | Find /V "\$VAULT\" | Find /V "
 
... Lots more aliases defined...
 
VB08=C:\PROGRA~2\MICROS~1.0\Common7\IDE\VBExpress.exe
Wi*namp=*Start /PGM E:\PROGRA~1\WinAmp\winamp.exe
WMP*Layer=*Start /PGM C:\PROGRA~2\WI54FB~1\wmplayer.exe
Wo*rd=*Start /PGM C:\PROGRA~2\MICROS~2\OFFICE11\WINWORD.EXE %$
 
[C:\Program Files\JPSoft\TCMD14x64]Function >!Z:\FunctionList.txt
 
[C:\Program Files\JPSoft\TCMD14x64]Type Z:\FunctionList.txt
AppName=%@If[%@Index[%@RawAppName[%1],/] == -1,%@RawAppName[%1],%@Trim[%@Left[%@Ind
ex[%@RawAppName[%1],/],%@RawAppName[%1]]]]
BaseFileName=%@FileName[%@Left[-%@Inc[%@Len[%@Ext[%@If["%@UnQuoteS[%1]" == "",%_Bat
 
... A bunch more functions...
 
SubDirs=%@ExecStr[E:\DOS\SubDirs.btm %$]
TrueFileSize=%@Trim[%@Replace[,,,%@ExecStr[PDir %1 /(ZCA)]]]
UnOuterQuotes=%@If['%@Left[1,%1]' == '"' .AND. '%@Right[1,%1]' == '"',%@Left[-1,%@R
ight[-1,%1]],%1]
And, again just for verification, the complete results of starting a new Take Command/TCC session from the "start" menu:
Code:
  Sat  Jan 26, 2013  9:47:42p
 
Chill v1.1.0 loaded.
HTags plugin v0.60.3 loaded.
HTMLDump plugin v1.0.5 loaded.
ISO8601 plugin v1.3.7 loaded.
PopInfo v1.0.3 loaded; hotkey is Control-Q.
QCAL plugin v1.3.7 loaded.
SafeChars plugin v1.7.0 loaded.
Say plugin v1.0.7 loaded.
 
TCC  14.03.53 x64  Windows 7 [Version 6.1.7601]
Copyright 2012 JP Software Inc.  All Rights Reserved
Registered to Daniel Mathews
 
[C:\Program Files\JPSoft\TCMD14x64]
Again, no evidence of the TCStart.btm file having been run.
 
May 24, 2010
855
0
Northlake, Il
Thank you, Vince. You hit the nail on the head immediately because that was the problem. I had no recollection of the "TCStartPath" option (and no clue as to when I might have changed it). But if you don't remember (somewhat ironically here) bad memory is, by far, my worst disability. I am almost non-functional because of it.
 
Similar threads
Thread starter Title Forum Replies Date
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
vefatica Why isn't TCSTART.BTM run? Support 8
p.f.moore How to? User specific TCSTART (etc) files Support 15
MickeyF Why does my tcstart.btm sometimes terminate tcc.exe? Support 4
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
C Documentation .CMD .BAT .BTM Support 15

Similar threads