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

Wrong icons keep sticking

Discussion in 'Support' started by CWBillow, Jun 21, 2015.

  1. CWBillow

    Joined:
    Jul 12, 2008
    Messages:
    194
    Likes Received:
    0
    I am using TCMD 17.

    If I associate my btm files with TCC, all my text files then have a TCC icon. If I associate all my TXT files with Notepad, all my BTM files then have a Notepad icon.

    I tried uninstalling TCMD and then reinstalling, but that didn't fix it. I can't tell now without checking whether I am looking at a BTM file or a text file.

    What caused this, and how do I correct it?

    Regards,
    Chuck Billow
     
  2. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,058
    Likes Received:
    30
    Try these. What do you see?
    Code:
    v:\> assoc .btm
    .btm=TCC.Batch
    
    v:\> ftype tcc.batch
    tcc.batch="G:\TC17\TCC.EXE" /c "%1" %*
    
    v:\> assoc .txt
    .txt=txtfile
    
    v:\> ftype txtfile
    txtfile=C:\Windows\system32\NOTEPAD.EXE %1
     
  3. CWBillow

    Joined:
    Jul 12, 2008
    Messages:
    194
    Likes Received:
    0
    Vince,

    Here's what I ended up with:

    [C:\]assoc .btm
    .btm=btmfile

    [C:\]type btmfile
    TCC: (Sys) The system cannot find the file specified.
    "C:\btmfile"

    [C:\]assoc .txt
    .txt=txtfile

    [C:\]ftype txtfile
    txtfile=C:\WINDOWS\system32\NOTEPAD.EXE %1

    I mistakenly answered the e-mail notification I received of this post, so if duplicates or errors arise, my apologies.

    Chuck
     
  4. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,058
    Likes Received:
    30
    You missed one.

    FTYPE btmfile

    But "btmfile" seems old fashioned. You might try starting an elevated TCC session and running TCCBATCH.BTM which should be found in the same directory as TCC.EXE. That might straighten things out. I only say "Y" to this one
    Code:
    Do you want to make TCC the default handler for .BTM files [Y/N] ?
    I say "N" to the others, .BAT and .CMD
     
  5. CWBillow

    Joined:
    Jul 12, 2008
    Messages:
    194
    Likes Received:
    0
    Here's Te one I missed:

    [C:\]FTYPE btmfile
    btmfile="C:\JPSoft\TCC.EXE" /c "%1" %*

    Chuck
     
  6. CWBillow

    Joined:
    Jul 12, 2008
    Messages:
    194
    Likes Received:
    0
    I may have fixed it, Vince. I added

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\.txt\DefaultIcon]
    @="C:\\Users\\CWBillow\\AppData\\Roaming\\Microsoft\\Internet Explorer\\Quick Launch\\~~images~~\\Icons\\notepadwin.ico"

    To the registry.

    There was no default icon entry for txt. We'll see!

    Regards,
    Chuck
     
  7. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,058
    Likes Received:
    30
    I hope you did. How did you get that in plain text? Here (Win7) I have no icon mentioned under .txt, but I have
    Code:
    [HKEY_CLASSES_ROOT\txtfile\DefaultIcon]
    @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
      00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,69,00,6d,00,\
      61,00,67,00,65,00,72,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,31,\
      00,30,00,32,00,00,00
    which translates into
    HKCR
    txtfile
    DefaultIcon
    (Default) REG_EXPAND_SZ
    %SystemRoot%\system32\imageres.dll,-102
     

Share This Page