entered name while renaming is not space-trimmed auto

Please report only one bug per message!

Moderators: Hacker, Stefan2, white

Post Reply
Michael REMY
Member
Member
Posts: 194
Joined: 2010-12-12, 10:05 UTC
Location: Amiens
Contact:

entered name while renaming is not space-trimmed auto

Post by *Michael REMY »

hi,

i do a lot of renaming task.
when i copy-past a name contenaing space in the end, the windows explorer auto delete the over-space character (trim at end) while Total commander keeps this ending space.

it is boring, because , when you do a lot of copy-past from internet browser, it is not accurate 'cause there is always a lead or trailing space in your selection...

have a good day
i'm an old long user of TC since the windows 3.11 release !, for the history, i came to tc when i migrate from amiga commodore to PC where they are diskmanager and directory opus there.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 43207
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Just use the Explorer method in Total Commander if this bothers you: Ctrl+C Tab Ctrl+V.
Author of Total Commander
https://www.ghisler.com
Markk786
Junior Member
Junior Member
Posts: 2
Joined: 2017-07-29, 01:22 UTC

Post by *Markk786 »

Thanks qhisler.. helped me too.......






spam



Edit by moderator:

User modified his post to add a Spam URL as his signature as just a series of hyphens (no real text, so nearly hidden) >> spam removed >> User banned

Please help us and report such post (see the [!] button) if you find them on browsing the forum, thanks.




 
robert34
New Member
New Member
Posts: 1
Joined: 2017-08-21, 06:18 UTC

New comment

Post by *robert34 »

Thank you very much for the post. Really a very informative publish!
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: entered name while renaming is not space-trimmed auto

Post by *DrShark »

ghisler(Author) wrote: 2014-07-21, 14:06 UTC Just use the Explorer method in Total Commander if this bothers you: Ctrl+C Tab Ctrl+V.
I don't think this solves the issue described in start post:
1. Create file with random name.
2. Copy to clipboard the text between quotes: " space.txt".
3. Now use rename on file with random name in Explorer:
press F2, select whole name, paste new name from clipboard.
Explorer will give a file "space.txt" name (so the lead space is trimmed by Explorer) .
4. Now rename this file in TC: press Shift+F6, paste the same clipboard name.
Total Commander will give file a name " space.txt" (it's the same as was copied).

I don't think Total Commander have some bug here, but it may be considered as a suggestion for TC to have an option to follow Explorer behavior regarding leading/trailing spaces when renaming.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Post Reply