Wrong icons keep sticking

Jul 12, 2008
286
0
Las Vegas, NV
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
 
May 20, 2008
11,415
99
Syracuse, NY, USA
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
 
Jul 12, 2008
286
0
Las Vegas, NV
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
 
May 20, 2008
11,415
99
Syracuse, NY, USA
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
 
Jul 12, 2008
286
0
Las Vegas, NV
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
 
May 20, 2008
11,415
99
Syracuse, NY, USA
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
 
Similar threads
Thread starter Title Forum Replies Date
JohnQSmith New online help file wrong logo Support 7
vefatica @EXECSTR ... TCSTART ... something's wrong! Support 7
R History window wrong size, can't remember size change Support 12
mfarah Fixed The DATE command produces the wrong error message. Support 1
MikeBaas @regsetenv complains "wrong parameter" Support 14
mikea How to? TCC registered to wrong 'entity' Support 5
T @replace -- what is wrong here Support 2
vefatica Fixed KEYSTACK /i with repeat count sends wrong keys Support 7
C ZIP/U compares wrong timestamp Support 13
vefatica @WORDS, often wrong Support 0
vefatica gcd() ... wrong answer, lcm() hangs Support 5
D What is wrong with this code? Support 7
vefatica WAD DIR /HL still gets names wrong Support 16
H Fixed DIR /G returns wrong sizes Support 2
M Another "What is wrong?" Support 8
M What is wrong with this command? Support 4
vefatica Updater says wrong version Support 1
M How to? What am I doing wrong/not understanding? Support 10
C News link wrong Support 1
M What am I doing wrong? Support 12
M What am I doing wrong here? Support 2
C Forum column headings wrong? Support 4
gschizas Installation folder for TCMD x64 15.1 is wrong Support 5
Dan Glynhampton Documentation v15 help: ECHOXERR Help Page Title is Wrong Support 0
M What am I doing wrong in this (very simple!) code? Support 3
vefatica Something wrong with @PID Support 10
J zip wrong central directory signature Support 12
S Fixed _DO_FILES and _DO_DIRS wrong Support 0
B Downloading Updates - Error: Wrong file size?? Support 3
vefatica What's wrong here? Support 2
vefatica Wrong startup file? Support 1
M How to? Missing closing quote: What am I doing wrong???? Support 7
gschizas (minor) Help topic "Colors, Color Names and Codes" is wrong Support 0
T Wrong prompt in Windows command console Support 3
M Where am I going wrong with ALIAS??? Support 7
G Wrong File Size Support 8
vefatica Updating v10: error wrong file size Support 2
S Wrong .INI file used by TCC Support 2
K_Meinhard Wrong sender adress Support 0
Jay Sage Problem With TCMD16 Tool Icons Support 5
S New icons, ugh Support 19
krischik Tab and Button Icons in Window 64 Support 2
S Can Take Command show TortoiseSvn folder icons? Support 9
S Version-specific icons Support 1
C Can't keep up with my typing? Support 9
M Why does HELP keep opening in the background? Support 0
vefatica Why does my forum theme keep changing? Support 1
C Any reason to keep old versions? Support 8
Stefano Piccardi How to? keep console from scrolling Support 6
vefatica Keep me logged in? Support 2

Similar threads