F7. Create folder with last space dont move cursor to it

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Motorocker
Member
Member
Posts: 105
Joined: 2006-07-19, 10:52 UTC
Location: Perm, Russia
Contact:

F7. Create folder with last space dont move cursor to it

Post by *Motorocker »

If I create folder with last space(s) "Folder ", Total (or windows?) create folder without last space "Folder", but cursor don't move to new folder "Folder" and stay on currend place.
Graphics Converter – images conversion
KillOK – Cease to press OK!
NSCopy – copy unreadable
User avatar
wanderer
Power Member
Power Member
Posts: 1640
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

Confirmed. TC creates the folder without the space at the end but it does not move the cursor on it. Nice one Motorocker.

P.S. This is actually a bug so it should probably be moved in the appropriate forum.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Actually it's Windows itself which removes the space at the end. Total Commander knows nothing about this change, and tries to focus the name WITH the space...
Author of Total Commander
https://www.ghisler.com
User avatar
wanderer
Power Member
Power Member
Posts: 1640
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

ghisler(Author) wrote:Actually it's Windows itself which removes the space at the end.
Hmmm... Ok, maybe there's a small amount of risk here because it's something MS may decide to change in the future but wouldn't it be better (since this is already how it's done by Windows) if TC trimmed trailing spaces before creating the folder and positioning the cursor to it?
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The space at the end is actually allowed on some drives, e.g. Samba (Unix/Linux)...
Author of Total Commander
https://www.ghisler.com
User avatar
wanderer
Power Member
Power Member
Posts: 1640
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

ghisler(Author) wrote:The space at the end is actually allowed on some drives, e.g. Samba (Unix/Linux)...
Hmmm, how about the following then: Create the folder with the name as is and then try to place the cursor on it and if not found, try to place it on the same folder name with trimmed end-spaces. An alternative would probably be to remain as is. :)
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
User avatar
iNSiDE
Junior Member
Junior Member
Posts: 23
Joined: 2007-03-27, 19:15 UTC
Location: Belarus, Minsk

Post by *iNSiDE »

Yeah, I've already reported about the similar problem at http://ghisler.ch/board/viewtopic.php?t=14692&start=0&postdays=0&postorder=asc&highlight=
This problem was "fixed", but not completely :( . The problem still exists in MRT, and Mr Ghisler is not going to fix it, maybe because the process of renaming will be slower.
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Use #160…

Post by *Clo »

2Motorocker

:) Hello !

• Despite I don't see which need you have to add a space at the end of a folder-name,
what about the use of a nonbreaking space #160 (Alt+0160 - HTML : & # 160; without spaces ;) )
instead of the usual space from the keyboard that Windows removes ?

• I tested (again) such a solution, it works, example with a file inside :

Code: Select all

e:\Space_test \test_space.txt
- The space is alright in the path…

• Just my 0.10 € (inflation…)

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
wanderer
Power Member
Power Member
Posts: 1640
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

Well, for most users it will probably be done by mistake (at least that's true in my case). Seeing that the cursor is not positioned on the right folder leads one to think it is a bug. :) For me it's not that important anyway...
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
User avatar
Motorocker
Member
Member
Posts: 105
Joined: 2006-07-19, 10:52 UTC
Location: Perm, Russia
Contact:

Re: Use #160…

Post by *Motorocker »

Clo wrote:• Despite I don't see which need you have to add a space at the end of a folder-name,
Press Ctrl+Enter and copy this line. Total add ending space.
Last edited by Motorocker on 2007-06-28, 05:44 UTC, edited 1 time in total.
Graphics Converter – images conversion
KillOK – Cease to press OK!
NSCopy – copy unreadable
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Press Shift+Enter and copy this line. Total add ending space.
Shift+Enter will open the folder ...
Do you mean Ctrl-Enter ? (add to commandline)

This is by design, to allow adding multiple entries in sequence without switching to commandline for adding a separator.
#5767 Personal license
User avatar
Motorocker
Member
Member
Posts: 105
Joined: 2006-07-19, 10:52 UTC
Location: Perm, Russia
Contact:

Post by *Motorocker »

sqa_wizard wrote:This is by design, to allow adding multiple entries in sequence without switching to commandline for adding a separator.
I know.
I copy full string with ending spaces.
Now I must everytime delete this ending space or search new folder without spaces.

wanderer, support.
Graphics Converter – images conversion
KillOK – Cease to press OK!
NSCopy – copy unreadable
User avatar
Motorocker
Member
Member
Posts: 105
Joined: 2006-07-19, 10:52 UTC
Location: Perm, Russia
Contact:

Post by *Motorocker »

ghisler(Author)?
Graphics Converter – images conversion
KillOK – Cease to press OK!
NSCopy – copy unreadable
Post Reply