white wrote:Has it anything to do with that TC saves the association in both reg.dat and win.ini (as stated in TC Help)?
1) Add a new or change an existing file(association) type in TC
2) Wait a while, then check C:\WINDOWS\WIN.INI section "[Extensions]". It has an faulty entry containing a double quote where it should not be.
3) In windows (not TC!) remove the file type
4) Now the association does not work anymore in windows, but TC still uses the entry in WIN.INI which can give bad results because of the double quote in WIN.INI. Remove the double quote from WIN.INI and the association will work fine in TC.
Why is the association still saved in WIN.INI for the 32 bit version of TC?
BTW. WINFILE.EXE also stores the association in both registry and WIN.INI. But the association does not work in WINFILE.EXE if the association is only saved in the WIN.INI and not in the registry.
I use Windows 98.

Thank you for these infos, I'll check that soon...

The most strange fact is that sometimes the change / new type set / in TC works OK for a long while (like I told)... The lost quotes are often for the same file-types, especially for the *.TXT format! I noticed that Windows doesn't care of paths / names with spaces at the original installation for that file-type, since the quotes for "%1" are originally missing,
even in XP-Pro!

MS
loves its old bugs!
¤ Besides, it's often very laborious to change that associated program in XP from TC! I had to remove the type in Windows (i.e.: *.GIF), because the change in TC was quite inefficient!

I had white file-icons, and "Associated with: <none>" in TC, but yet a double-click on a *.GIF launched still this ugly Win pic-viewer....

I think that Christian G. might improve this function, for these odd cases...
Friendly regards,
Claude
EDIT: continuation...
Hello!
Has it anything to do with that TC saves the association in both reg.dat and win.ini (as stated in TC Help)?
¤ I just checked the
<win.ini> file; about *.txt file-type, I found:
txt=C:\Xed\xED.exe ^.txt
xED is the editor I associated with *.txt
8)Currently, it works normally when there are spaces in the path or /and the file-name…
¤ in the Register, I found:
[HKEY_CLASSES_ROOT\.txt]
@="txt_auto_file"
and too:
[HKEY_CLASSES_ROOT\txt_auto_file\shell\open\command]
@="C:\\Xed\\xED.exe "%1""
¤ I deleted a key for another TXT association with a program which no longer exists in the PC!
¤ Whether I well understood, there are normal values?

Ididn't make yet the full test that you describe… I'm so busy actually, I'm preparing
something for an easy messages writing here.

I wait for the next "quotes escapade" to apply this trick!
Best regards,

Friendly,
Claude
Clo