TC7rc5 - Compare By Content, Edit mode, Save as, wrong ext
Moderators: Hacker, petermad, Stefan2, white
TC7rc5 - Compare By Content, Edit mode, Save as, wrong ext
Select two files which DO have a file name extension and open the Compare contents dialog (menu Files/Compare By Content).
Edit one of the files and save that file under a different name without file name extension.
Result: The new file has the same file name extension as the old file.
Edit one of the files and save that file under a different name without file name extension.
Result: The new file has the same file name extension as the old file.
- StickyNomad
- Power Member
- Posts: 1933
- Joined: 2004-01-10, 00:15 UTC
- Location: Germany
2StickyNomad
Yes, you are right. How could I forget. Time to go to sleep...
Edited: Still awake.. How many editors behave like this? UltraEdit does not have this behavior. Neither has Notepad+. For a plain text editor not to be able to save a file with file name extension as a file without file name extension is ...not good I think.
Edited 2:It used to be like this (for editors): The default file name extension when no extension is specified by the user, is the file name extension of the file type listed in the save as dialog. When the user enters a dot at the end of the file name, he explicitly enters a file name without extension.
Yes, you are right. How could I forget. Time to go to sleep...
Edited: Still awake.. How many editors behave like this? UltraEdit does not have this behavior. Neither has Notepad+. For a plain text editor not to be able to save a file with file name extension as a file without file name extension is ...not good I think.
Edited 2:It used to be like this (for editors): The default file name extension when no extension is specified by the user, is the file name extension of the file type listed in the save as dialog. When the user enters a dot at the end of the file name, he explicitly enters a file name without extension.
Not in either Notepad, nor Wordpad (Win XP) In that case the file gets the name: myname..txt (note - two dots).When the user enters a dot at the end of the file name, he explicitly enters a file name without extension.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This is intentional. TC keeps the extension of the original file, mainly because the file save dialog always proposes a name without extension. If you want a different extenstion, you need to enter it (or a dot, as proposed above, if you want an empty extension).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
It works here...Entering a dot does not work!
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar