bug copying folder name ending with space

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
sgp
Senior Member
Senior Member
Posts: 355
Joined: 2005-01-31, 16:04 UTC

bug copying folder name ending with space

Post by *sgp »

TC v6.51 winxp pro sp1
bug: copying a folder whose name ends with a space, e.g., "folder " creates a folder without the space e.g., "folder"

tested copying local non-empty folder to new folder on mapped network drive on win2k sp4 workstation.
when the first file was being copied, TC reported "remove copy protection" even though the file/folder had no copy protection. closer inspection revealed problem with new folder name (missing trailing space).

to create folder name with trailing space I used "folder \" from command line
Last edited by sgp on 2005-04-20, 11:50 UTC, edited 1 time in total.
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Folders mustn't containt free space at the end, even Explorer doesn't allow to create them. Maybe this was changed in XP, not sure.

Icfu
This account is for sale
sgp
Senior Member
Senior Member
Posts: 355
Joined: 2005-01-31, 16:04 UTC

Post by *sgp »

to create folder name with trailing space I used "folder \" from command line on win2k or winxp

besides, I received the folder name to begin with from someone else's CD so that type of name must be handled correctly...
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

I was able to create them using command line, this was unknown to me...

But I think this is a bug that was left behind because Explorer is not able to handle these folders at all, they can only be accessed, but not copied/moved/deleted/renamed/etc...

Maybe ghisler will enlighten us.

Icfu
This account is for sale
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50506
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed such names aren't allowed, and it's a bug that you can actually create them with this trick. TC does not allow to create such folders, that's why it cuts off the space when copying.
Author of Total Commander
https://www.ghisler.com
Post Reply