Welcome!

By registering with us, you'll be able to discuss, share and exchange private messages with other members of our community.

SignUp Now!

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

May
855
0
... 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.
 
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

Back
Top