1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

"which" in PowerShell invokes TCC?

Discussion in 'Support' started by vefatica, Mar 22, 2013.

  1. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,971
    Likes Received:
    30
    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>
     
  2. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,971
    Likes Received:
    30
    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.
     
  3. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,520
    Likes Received:
    4
    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...
     
  4. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,971
    Likes Received:
    30
    That's on purpose (the lack of "/C"). I almost never invoke a BTM via its association.
     

Share This Page