How to? Start TCMD with different configurations

Hello there,

I could not find a solution in the forum or helpfile.
I would like to have two shortcuts to Take Command on the desktop. One should start Take Command with normal TCMD.ini and tcstart, e.g. for computer maintenance. The other shortcut should also start TCMD, but the TCC inside should execute an additional batchfile (additional to tcstart) where the development environment is set up. Why would I want this? The dev environment calls vcvarsall which takes about 2 sec on my machine and I want this extra delay only when I want to build from the commandline.
I have tried the "//directive=value" in the shortcut to set a different TCStartPath (and have a second tcstart call the dev setup), but this option is for TCMD and not TCC which would need this option.
I´m sure there is an elegant solution for this.

Thank you for your help
Best regards
Josef
 
Aug 3, 2016
376
9
Netherlands
There are almost certain other ways to get this done, but I got this one working:

tcmd.exe /T tcc.exe /k c:\Temp\ff\Matrix\matrix.btm

Meaning: Start tcmd with an extra tab (/T) and run "tcc.exe /k c:\Temp\ff\Matrix\matrix.btm" in this tab
tcc.exe /k c:\Temp\ff\Matrix\matrix.btm means:
Start tcc.exe and execute the command "...matrix.btm". Leave TCC opened after executing the command (that's the /K)
 
May 20, 2008
11,388
99
Syracuse, NY, USA
See the "/T" start-up option. This command in a shortcut worked for me:
Code:
G:\tc20\tcmd.exe /t g:\tc20\tcc.exe l:\VS10\vc\bin\vcvars32.bat
 
Similar threads
Thread starter Title Forum Replies Date
A Fixed [23.0.22]: TCMD crashes shortly after start, TCC keeps running in background Support 6
kb6ojs Want to start TCMD v20 with every Windows 10 bootup Support 3
vefatica Start TCMD with File Explorer showing? Support 2
Alpengreis WAD Each start/close of TCMD changes my Explorer setting Support 7
Alpengreis Fixed TCMD FileExplorer Start-Directory problem Support 4
C 'start tcmd.exe' actually starts tcc.exe Support 7
vefatica WAD Latest TCMD won't start. Support 15
K_Meinhard Fixed ? TCMD 14.02 doesn't start here Support 4
R Start TCMD minimized Support 19
L Thanks from larryalk was Cannot apply Start in folder for Tcmd Support 11
L Cannot apply Start In folder for Tcmd Support 15
samintz Tcmd 9.02 won't start Support 2
C start/tab of a GUI program hangs TCMD Support 6
A TCMD takes very long to start up Support 19
J Take command does not start on Windows 10 Support 3
N for start /b anamoly Support 1
U Can not get/start Take Command gui Support 1
DrusTheAxe START /? is incomplete Support 2
S How to? Runs start /w in invisible mode OR run program after exit of another one Support 3
vefatica Start/stop screensaver from TCC? Support 12
S START with title Support 4
vefatica START at 0,0? Support 2
D START /POS versus @WINPOS and @WINSIZE Support 12
vefatica START /elevated and PcaSvc? Support 5
S incorrect message at start Cancel batch job 4START.bat ? (Y/N/A) : Support 1
vefatica START /PGM "name with spaces.URL" fails Support 2
L Peculiarities of how START launches processes Support 15
R How to? START program as top window? Support 2
Peter Murschall v24 IDE/BDEBUGGER won't start Support 9
Dmitry L. Kobyakov WAD Start /pgm "name.htm" works improperly Support 4
Joe Caverly START Dialog usage of %_ variables Support 0
vefatica START *command Support 5
Per TCC/LE 14 64-bit won't start on Windows 10 Insider Preview 17063 (171213) Support 12
A Fixed (CMD compat) START /D fails to recognize the switch option. Support 3
MikeBaas start /runas - I'd like /netonly Support 2
vefatica Start VIEW with the toolbar showing? Support 5
vefatica Documentation START /AFFINITY Support 0
B how to do in "start" command thing like in tcc.exe Support 1
J directory or folder to start in Support 2
R How to? Not have RT version show on start Support 3
D WAD START /ELEVATED "Title" /PGM "job.btm" Support 6
vefatica START /K ... Support 1
vefatica Documentation START /AFFINITY Support 5
WadeHatler Just started getting a message about Cloud Storage every time I start TCC 19 Support 3
vefatica Shortcut/start-up folder nonsense Support 20
fishman@panix.com Can I start TCC in full screen mode? Support 9
R Unable to start any BTM file from Explorer Support 5
fpefpe How to? Stange start up issue Support 1
M Start "/Elevated" failure... Support 3
vefatica START, CMD vs. TCC Support 0

Similar threads