CMDEBUG and New Shell

I am using;
upload_2017-10-6_19-41-3.png


On the View menu, there is an option at the bottom, New Shell... F7, which does the same thing as the New Shell icon on the toolbar.

On the Options menu, I have TCC Syntax selected.

Without TCMD 18 or TCC 18 running, and only CMDebug running, launched from the Windows 7 Start Menu, when I select New Shell, I am presented with the CMD.EXE window.

Ditto with TCMD 18 or TCC 18 running.

If I launch CMDebug from the TCC 18 window, and select New Shell... F7 from CMDebug, I am presented with the TCC.EXE (version 18.00.32)

If I launch CMDebug from the TCC 21 window, and select New Shell... F7 from CMDebug, I am presented with the TCC.EXE (version 21.01.53)

I have TCC-RT installed, and I would like to use TCC-RT with CMDebug.

When I run the following .BTM;
Code:
echo %_startpath
echo %_4ver
echo %_tccrt
it returns;
Code:
echo C:\Program Files\JPSoft\CMDebug21
C:\Program Files\JPSoft\CMDebug21
echo 21.01
21.01
echo 0
0

...which means CMDebug is not using TCC-RT. I'm pretty sure that I have my system setup to use TCC-RT for .BTM files;
Code:
c:\users\jlc\utils>assoc .btm
.btm=TCCRT.Batch

Is this all WAD? How do I get CMDebug to use the TCC-RT?

Joe
 

rconn

Administrator
Staff member
May 14, 2008
12,345
150
CMDebug will never use TCC-RT, because it doesn't need to.

The F7 / New shell option will start whatever is in COMSPEC as an interactive shell. You can't run TCC-RT as an interactive shell, so you'll never be able to get it with the new shell option.

CMDebug has TCC-RT built in, so that's what it runs (internally) when you debug a batch file. It won't identify itself as %_tccrt, because it's running in the debugger.
 
Similar threads
Thread starter Title Forum Replies Date
rconn News Take Command / TCC / CMDebug / TCC-RT v28 Released Support 0
sully9 How to? Unexpected %DATE% CMD variable format (vs DATE /T format) in CMDebug Support 1
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
rconn News Take Command / TCC / CMDebug / TCC-RT v27.01 Build 22 Uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.21 uploaded Support 0
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
rconn News Take Command / TCC / CMDebug / TCC-RT v27.0.18 Support 0
K seems to have no effec tin CMDebug: SETLOCAL EnableDelayedExpansion Support 1
rconn News Take Command / TCC / CMDebug / TCC-RT 26.02.41 Uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 26.01.40 uploaded Support 0
R CMDebug, dark theme, current line Support 7
Peter Murschall CMDebug 26.01.37 has problems with Alias Support 21
rconn News Take Command / TCC / CMDebug / TCC-RT 26.0.37 Uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 26.0.28 Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT Public Beta RC2 Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT v26 Public Beta build 26.0.21 Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT Public Beta Build 26.0.20 Support 0
rconn News Take Command / TCC / CMDebug v26 Public Beta Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 25.0.28 Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 25.0.26 Uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 25.0.25 Uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 25.0.21 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 25.0.18 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 25.0.17 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 25.0.15 uploaded Support 0
rconn News Take Command, TCC, CMDebug, and TCC-RT 25.0 Released Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT v25.0.11 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT v25 Build 9 Support 0
T How to? cmdebug (24 2 50) no errorvel from net use Support 5
rconn News Take Command / TCC / CMDebug / TCC-RT v25 Public Beta Build 8 Uploaded Support 9
rconn News Take Command / TCC / CMDebug / TCC-RT v25 Public Beta Support 0
rconn Take Comamnd / TCC / CMDebug / TCC-RT 24.02.49 Uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 24.02.47 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 24.02.46 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 24.02.44 Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 24.02.43 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 24.02.42 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 24.01.41 Uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 24.0.28 Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 24.0.26 Uploaded Support 0
rconn News Take Command, TCC, CMDebug, TCC-RT 24.0 Released Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT v24.0.22 Public Beta Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT v24.0.21 Public Beta Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT v24.0.20 Public Beta Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 23.0.31 Uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 23.0.30 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 23.0.29 Uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 23.0.28 Support 0

Similar threads