Page 1 of 1

Space can be added at last character

Posted: 2012-07-03, 19:31 UTC
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 :)

Posted: 2012-07-03, 19:40 UTC
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).

Posted: 2012-07-03, 19:41 UTC
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.

Posted: 2012-07-03, 19:48 UTC
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.

Posted: 2012-07-03, 19:56 UTC
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 ?

Posted: 2012-07-04, 07:29 UTC
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.

Posted: 2012-07-04, 07:29 UTC
by white
[mod]Moved to Suggestions forum.

White (moderator)
[/mod]

Posted: 2012-07-04, 07:34 UTC
by mairie
thank you