"which" in PowerShell invokes TCC?

May 20, 2008
11,400
99
Syracuse, NY, USA
This is in PowerShell: TCC is invoked (and doesn't exit). COMSPEC is set to CMD.EXE. What's going on?
Code:
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.

C:\Users\vefatica> which touch

TCC  14.03.59   Windows 7 [Version 6.1.7601]
Copyright 2013 JP Software Inc.  All Rights Reserved
Registered to Vincent Fatica - 5 System License

touch is an internal command

c:\users\vefatica>
 
May 20, 2008
11,400
99
Syracuse, NY, USA
Well, I figured that out! I don't even remember this:
Code:
v:\> dir /km u:\which.btm
1997-10-22  09:47          2,791  which.btm
I didn't write it. It looks like it might have come from JPSoft.
 
May 20, 2008
3,515
4
Elkridge, MD, USA
Well, I figured that out! I don't even remember this:
Code:
v:\> dir /km u:\which.btm
1997-10-22  09:47          2,791  which.btm
I didn't write it. It looks like it might have come from JPSoft.
An old Mike Bessy one...
You seem to have associated a persistent instance of TCC with the .BTM extension. Might be better to add /c to the association so it would not be persistent...
 
Similar threads
Thread starter Title Forum Replies Date
CWBillow TCC and TCMD in Powershell Support 6
Joe Caverly PowerShell=No Support 1
EDerH Powershell call from script Support 24
A Problem with functions @int @decimal and identifying Powershell as a shell. Support 12
Joe Caverly PowerShell Core Support 1
CWBillow PowerShell tab as Admin Support 2
CWBillow TCMD PowerShell Tab elevated Support 6
CWBillow Take Command tab as PowerShell Support 3
vefatica Powershell ... insert vs overstrike Support 2
CWBillow Powershell tab in TCMD? Support 2
Joe Caverly Fixed Displaying Profiles from TCC vs. PowerShell Support 2
Joe Caverly How to use Powershell Profile with PSHELL Support 14
F Powershell call fails with "Scripting Integrator 2016 (PowerShell)" license error Support 9
CWBillow PowerShell Tabs in TCMD Support 11
I v16 Spawning a PowerShell tab Support 3
B Powershell scripts not opening in notepad-TC main suspect Support 2
electrotype Powershell in Take Command - Customizing colors? Support 4
C Attaching PowerShell changes its colors and makes it hard to read Support 15
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
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

Similar threads