Space can be added at last character

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
mairie
Junior Member
Junior Member
Posts: 3
Joined: 2012-07-03, 19:26 UTC

Space can be added at last character

Post by *mairie »

Hello all

In rename, copy, move, a space ca be added at last character (before the extension) ie : "Myfile .zip" instead of "Myfile.zip"
I have a few open/save box who crash if there is such a file like this one in the directory.

Windows seven (updated)

hope this is unknown and a bug :)
User avatar
MaxX
Power Member
Power Member
Posts: 1189
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

2mairie
That is not a bug, this is user's mistake with making filename. There is no diffrence where is a space symbol inside filename at all. But M$ Explorer always cuts off the last spaces in name before [dot]extension. TC works more clever and does not lose this (sometimes useful) symbol.
If you don't like space symbols in the end of filename you can rename files manually or via built in multi-rename-tool (default hotkey: Ctrl+M).
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
petermad
Power Member
Power Member
Posts: 16118
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I don't think that it is against any rules to have a space before the extension dot.

I just testet with Windows Explorer (Win 7 and Win XP): "File" -> "New" -> Text document" and here I can easily make a new file with a dot before the extension.

So it is probably your other programs that are buggy, since they cannot handle that space.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

It is not a TC only problem, you can create such files with any program e.g. standard Notepad. Simply type full name with extension in save dialog, e.g. Myfile .txt.
mairie
Junior Member
Junior Member
Posts: 3
Joined: 2012-07-03, 19:26 UTC

Post by *mairie »

I have this problem with a lot of openbox from different programs
I don't know if they use the same library, I'll take a look.
So I made the test with notepad and a few others and I can also add this space.
In msdn I saw a recommendation to not end ntfs names with space (or dot), so this is not strictly forbiden, but I can see that this gives a lot of problem (idem for the leading space),

with previous versions of TC, it was not possible If I remember

is it possible to have this as an option ?
User avatar
white
Power Member
Power Member
Posts: 5988
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

mairie wrote:with previous versions of TC, it was not possible If I remember
It was also possible in previous versions of TC.
User avatar
white
Power Member
Power Member
Posts: 5988
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

[mod]Moved to Suggestions forum.

White (moderator)
[/mod]
mairie
Junior Member
Junior Member
Posts: 3
Joined: 2012-07-03, 19:26 UTC

Post by *mairie »

thank you
Post Reply