TCSTART issue after reinstallation

Aug 10, 2017
13
0
I've been using TCC for sometime but recently had an unrelated system crash that required the reinstallation of Windows 10 and all of the programs which I had previously installed. TCC was pretty straight forward, but I'm having an issue with setting up my aliased,

d:\Program Files\JPSoft\TCMD21\TCSTART reads:

alias /r d:\pyproj\alias.lst

And d:\pyproj\alias.lst reads

edit=notepad++.exe
dpy=cdd d:\pyproj
lists=cdd c:\Users\borge\desktop\peerless\lists
build=cdd c:\Users\borge\desktop\peerless\build
work=cdd c:\Users\borge\desktop\peerless\working
root=cdd c:\Users\borge
bat=dir d:\pyproj\*.bat
subst w: c:\Users\borge\desktop\peerless\working

But none of the shortcuts in alias.lst work. What have I missed?

Dave
 
May 20, 2008
11,424
99
Syracuse, NY, USA
If a new TCMD.INI is being used, it may not have a (correct) TCStartPath entry. Find out quickly with
Code:
option TCStartPath
 
Aug 10, 2017
13
0
Did you re/install TCMD/TCC into d:\Program Files\JPSoft\TCMD21 ?
I believe so. Actually the techs backed up and restored my D drive. I had to reinstall a lot of programs while some seemed to run from the restore without reinstallation. But I'm pretty sure I reinstalled TCC.
 
May 20, 2008
11,424
99
Syracuse, NY, USA
It is blank. TCStartPath=
Even so, if TCSTART.BTM is in the same directory as TCC.EXE, it should be found. If, as your first post suggests, the file is named simply "TCSTART", that won't work. TCSTART must have an (executable) extension; .BTM seems the natural choice.

So check ...

that TCSTART has an (executable) extension (like .BTM).

and (one of these)

TCSTART.BTM is in the same directory as TCC.EXE

or

edit the INI file (notepad %_ininame) and set TCStartPath to the directory where TCSTART.BTM is.
 
Aug 10, 2017
13
0
Even so, if TCSTART.BTM is in the same directory as TCC.EXE, it should be found. If, as your first post suggests, the file is named simply "TCSTART", that won't work. TCSTART must have an (executable) extension; .BTM seems the natural choice.

So check ...

that TCSTART has an (executable) extension (like .BTM).

and (one of these)

TCSTART.BTM is in the same directory as TCC.EXE

TCSTART.BTM (the file I have been calling TCSTART) is in the same directory as TCC,EXE, The TCSTART file is the one from my original 2017 installation.
 
May 20, 2008
11,424
99
Syracuse, NY, USA
TCSTART.BTM (the file I have been calling TCSTART) is in the same directory as TCC,EXE, The TCSTART file is the one from my original 2017 installation.
I'm running out of ideas. As Charles Dye suggested, put something in TCSTART.BTM to let you know it runs. At least temporarily, I'd suggest doing this to TCSTART.BTM.

remove any commands that clear the screen
use "@ECHO ON" as the first line (to be sure you see the commands)
right after "alias /r d:\pyproj\alias.lst" add two lines
Code:
alias
pause

It ought to be pretty clear whether or not TCSTART.BTM is being run and, if it is, what it's doing.
 
Aug 10, 2017
13
0
I'm running out of ideas. As Charles Dye suggested, put something in TCSTART.BTM to let you know it runs. At least temporarily, I'd suggest doing this to TCSTART.BTM.

remove any commands that clear the screen
use "@ECHO ON" as the first line (to be sure you see the commands)
right after "alias /r d:\pyproj\alias.lst" add two lines
Code:
alias
pause

It ought to be pretty clear whether or not TCSTART.BTM is being run and, if it is, what it's doing.

It came back blank, but while I was there I also went into the setup screen and entered the path, restarted tcc and it printed the alias. I re-edited TCSTART and dropped out the additions, re-started tcc and typed alias and the aliases displayed and functioned correctly. So I guess the path was needed.

Thanks to you both for your help.
 
Similar threads
Thread starter Title Forum Replies Date
MickeyF equivalent to TCSTART.btm for TCMD? Support 4
vefatica @EXECSTR ... TCSTART ... something's wrong! Support 7
Charles S. Roaten Problems with TCSTART.BTM Support 1
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
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
cgunhouse TCToolBar /W Issue Support 2
G v28 Display Issue Support 7
Jay Sage Issue with CD_ENTER Alias Support 37
Jay Sage Issue with CD_LEAVE Alias Support 3
fpefpe How to? issue with % and evaluation Support 5
cgunhouse Standard User Account Issue Support 2
samintz WAD Display wrapping issue Support 5
M TCC color issue in ConEmu Support 4
samintz Timer issue Support 4
Alpengreis Documentation Minor issue in help file for view /E Support 1
samintz WAD ANSI issue Support 3
A Documentation [Help file] OPTION "//" synopsis formatting issue Support 0
Chen Touboul Overtyping issue - i press the Insert key, help till press enter for new line in TCC Support 2
Y TCC and Cmder imcompatibility issue Support 7
M Another possibly strange remote registry issue Support 5
T WAD bpokestr issue Support 5
D High-DPI Scaling issue Support 1
S CMDebug 22 issue with del command Support 1
cgunhouse Foldermonitor Issue Support 7
samintz Build 38 Install issue Support 5
rps WAD Setlocal issue Support 4
Luiz Rodrigues Issue with Maven Support 1
Seven Update / install issue with 20.0.20.10.32 take command Support 7
Fross WebDav Drive Mapping Issue Support 19
D Upgrade issue Support 3
Fross V20b8 Everything Issue Support 5
T TCC display issue Support 1
cgunhouse _logfile Issue Support 5
T Fixed Querybox issue Support 1
cgunhouse Fixed Share Memory Issue Support 5

Similar threads