How to? How do you launch TCC/LE using the already-open instance?

Jul 23, 2014
37
0
Is it possible to execute TCC/LE using the already-open (or *any* already-open) instance?

I don't see any relavant startup options. It would be great to be able to do this.
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,461
88
Albuquerque, NM
prospero.unm.edu
Is it possible to execute TCC/LE using the already-open (or *any* already-open) instance?

I don't see any relavant startup options. It would be great to be able to do this.

Not sure what you're asking for here. The START command with no options will launch a new copy of the current shell in a new console window. To launch a new copy in the same console, you can use "%_CMDSPEC" (create an alias if you use it often).
 
Jul 23, 2014
37
0
I'm looking for a command to launch the currently-open TCC/LE window from an external application. I want to (re)open the console, run a script, and then stay open so I can do more stuff. It's currently opening a new instance and then quickly shutting down.

At least, it needs to stay open after the script executes. At best, I'd like to recycle already-open instances of TCC/LE.

Is this possible?
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,461
88
Albuquerque, NM
prospero.unm.edu
I'm looking for a command to launch the currently-open TCC/LE window from an external application. I want to (re)open the console, run a script, and then stay open so I can do more stuff. It's currently opening a new instance and then quickly shutting down.

I think maybe you're looking for the /C and /K options. /C runs a command and then Closes the shell; /K runs a command and Keeps it open.
 
May 20, 2008
11,400
99
Syracuse, NY, USA
You can't communicate with an already-running TCC from another app. You can start a new TCC but exactly how it starts (new console/same console as app that's starting it) depends on how the app starts it. If you manage to start it to your satisfaction, using the arguments "/K scriptname" will leave it running after executing the script.
 
Similar threads
Thread starter Title Forum Replies Date
Spire TCC 10.0.0.57: Crash on launch in Secur32.dll Support 3
R How to? Launch and execute commands in tcmd.exe through MSBuild Script. Support 3
C TC 18.0 won’t launch. Support 1
Paul Hsieh Take Command does not launch GUI at all for me anymore. Support 3
A Stupid, obvious question - launch a BAT with TC Support 10
mikea Error when attempting to launch "Safe in Cloud" Support 3
samintz WAD Help won't launch Support 5
nikbackm Alias - launch external program - batch file Support 16
Peter Bratton Help won't launch Support 3
Y BDEBUGGER does not launch Support 8
M Tab button to launch as different user Support 1
deleyd Commands to launch Control Panel items? Support 10
MickeyF TCC crashing when copying multiple files (now resolved) Support 6
C COMSPEC constantly reset to TCC.EXE Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT v28 Released Support 0
C How to? starting TCC/TCMD v25 Support 2
CWBillow TCC and TCMD in Powershell Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.24 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.23 uploaded Support 0
Alpengreis Fixed Crash after copy dialog with big TCC.exception.log Support 5
rconn News Take Command / TCC / CMDebug / TCC-RT v27.01 Build 22 Uploaded Support 0
L FTYPE in TCC, less quirky than in cmd.exe Support 3
V Set path permanently from within TCC? Support 3
DrusTheAxe Runaway TCC.exception.log filling drive Support 5
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.21 uploaded Support 0
Joe Caverly tcc.exception.log Support 3
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.20 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.19 Support 0
FreezerBurnt Help making a CMD and TCC compatible batch file Support 7
vefatica SCRIPT ... TCC disappears Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT v27.0.18 Support 0
Jesse Heines Access Denied errors in TCC 27 Support 9
fpefpe How to? tcc inifile (%_ininame) Support 3
M How to? Black TCC Prompt Support 2
D Differences between TCC and CMD with COPY /b Support 4
M Oracle batch OPatch.bat.bat not working in TCC but correctly in CMD Support 5
Jay Sage Extra TCC Tasks Support 6
vefatica Can I turn off the minimize to tray mechanism in TCC? Support 5
N Command execution slows down in TCC Prompt after a while Support 6
R Upgrade TCMD 19 to TCC 26 Support 1
Joe Caverly Set a batch variable (%1 - %n) when TCC is executing a batch file Support 5
samintz How to? Is this doable in TCC? Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT 26.02.41 Uploaded Support 0
D TCC tab detaching & restarting Support 3
Ó Recent git output not shown on TCC Support 1
P Kill all other instances of tcc from a btm batch file Support 2
L Using TCC.exe through an SSH connection Support 3
M TCC color issue in ConEmu Support 4
Alpengreis UTF-8 problem in TCC related to Python Support 7
Alpengreis Python support for 3.8.3 in TCC v26.x? Support 2

Similar threads