how to make TCC default/replace cmd.exe?

Apr 11, 2019
4
0
sorry maybe this has been asked already, I have both TC and TCC and am not sure which one is best suited for replacing the default windows10 cmd.exe command window.....any ideas?
 
May 20, 2008
11,534
103
Syracuse, NY, USA
TCC is the one you want. It's a console application (like CMD) with nearly perfect compatibility and vastly greater capabilities.

TC, on the other hand, doesn't, on its own, do anything that CMD or TCC does. TC provides a GUI environment for running, in a tabbed interface. apps like CMD and TCC.
 
Apr 11, 2019
4
0
thanks that helps...but i still cant figure out which setting takes away the default cmd.exe as default command line and replace with tcc.exe....so far when i call out a .cmd file it still pops up in cmd.exe
 
May 20, 2008
11,534
103
Syracuse, NY, USA
thanks that helps...but i still cant figure out which setting takes away the default cmd.exe as default command line and replace with tcc.exe....so far when i call out a .cmd file it still pops up in cmd.exe
In TCC's install directory, you should find TCCBATCH.BTM. If you run it in TCC, it will give you the opportunity to set TCC as the default handler for any combination of .BAT, .BTM, and .CMD.

I am a many-year fan of TCC and its predecessors. And I see no need for it to replace CMD. I have never made it the handler for .BAT and .CMD files. When I write a batch script, I name it with .BTM, knowing that TCC will handle it. Here, unless I'm testing something, .BAT and .CMD files were written by someone else (usually Microsoft) expecting them to be run under CMD. Since CMD is rather lame, it has several esoteric and/or undocumented behaviors and programming techniques that batch file authors capitalize on to get it to do things. While TCC is nearly 100% compatible, it's not perfect and occasionally (very seldom) differences in behavior between TCC and CMD arise.
 
Aug 23, 2010
647
9
Don't do that. Don't even think about doing that.
You're not the first one to make this mistake, and you won't be the first one to hit all the issues associated with it.
 
Apr 11, 2019
4
0
ok am confused...so i have to deal with the old plain cmd.exe when launching my files? i thought this was a cmd.exe replacement, help me understand, sorry just new at this
 
May 20, 2008
11,534
103
Syracuse, NY, USA
so i have to deal with the old plain cmd.exe when launching my files?

What files ... *.BAT, *.CMD? Presumably you wrote them for CMD!

If you want TCC to run them when you 2-click them in Explorer, then start TCC elevated, run the file I mentioned, TCCBATCH.BTM, and answer N Y Y Y to these questions.
Code:
Do you want to make CMD the default handler for .BAT and .CMD files [Y/N] ?
Do you want to make TCC the default handler for .BAT files [Y/N] ?
Do you want to make TCC the default handler for .BTM files [Y/N] ?
Do you want to make TCC the default handler for .CMD files [Y/N] ?
 
Similar threads
Thread starter Title Forum Replies Date
TT's Help! Uninstalling TCC did not restore cmd.exe as Win10 default batch file processor. Support 4
A Can you set an image file 'tag' with TCC/4NT? Support 2
P PSHELL not working in TCC 26 Support 9
vefatica SCRIPT makes TCC disappear. Support 16
MickeyF TCC suddenly crashing (not TCC's fault) Support 2
Z CMDDebug - TCC unknown command Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT 28.02.17 Support 0
vefatica TCC startup: /IP not honored after /K Support 1
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
rconn News Take Command / TCC / CMDebug / TCC-RT 26.01.40 uploaded Support 0
Peter Murschall TCC V26.01.3x Debugging has problems with Alias /R Support 1
rconn News Take Command / TCC / CMDebug / TCC-RT 26.0.37 Uploaded Support 0
vefatica TCC waits for Office apps Support 4

Similar threads