TC 7 Public Beta 2 allows illegal chars in folder/file names

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
evanscott
Junior Member
Junior Member
Posts: 9
Joined: 2003-06-10, 20:08 UTC
Location: Moutain View, California

TC 7 Public Beta 2 allows illegal chars in folder/file names

Post by *evanscott »

I can create a folder called "||||myfolder" which cannot be accessed by TC7, TC6 or Windows Explorer. TC6 and Windows Explorer will not allow me to create folders (files?) containing illegal characters. I assume the same will be true for files as well but I really don't need a bunch of inacceesible files and folders laying around on my drives so I haven't tested it ;)> I wonder how I am going to get rid of these folders? I hate the absolute disk editor... actually I am scared of it.

regards,

evan
Control Aich
User avatar
Leif
Senior Member
Senior Member
Posts: 328
Joined: 2003-02-05, 15:44 UTC
Location: Umeå, Sweden

Post by *Leif »

Not confirmed!
When trying to create |myfolder, I'm told that it already exists (|) and then myfolder (without the |) is created.
Get Radio? Sure! - the best Internet Radio Player ever! ;)
User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

The same for me (as Leif descibed). Probably evanscott has some character instead of pipe sign (|) that is displayed like narrow black box and looks like pipe. This char probably is not in his current code page.
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

The | character in TC stands for creating multiple directories at once.
For ex: 1|2|3 creates 3 dirs in one operation within the current dir.
That's why |||myfolder would give an error, it means creating multiple dirs but no names are specified.
TC for Linux please!
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

Hey you are right!

Nice feature!
User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

roentgen666 wrote:The | character in TC stands for creating multiple directories at once.
Not only | can be used for this, but also / and \. E.g. "a\b\c", "a/b/c". But evanscott created something that cannot be deleted so we may assume it's not | character.
theosdikaios
Senior Member
Senior Member
Posts: 228
Joined: 2006-02-04, 13:02 UTC

Post by *theosdikaios »

2Valentino
Not only | can be used for this, but also / and \. E.g. "a\b\c", "a/b/c".
But this is different.
| makes 3 folders at the same level
\ makes one folder branch
"Since there are many things which have never happened and never will happen,
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Re: TC 7 Public Beta 2 allows illegal chars in folder/file n

Post by *Sheepdog »

evanscott wrote: I wonder how I am going to get rid of these folders?
You may use a special syntax of "del" command. Have a look here, please:

http://support.microsoft.com/kb/120716/en-us/

Code: Select all

DEL \\.\driveletter:\path\filename
should work in any case.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I still wonder what sign he used, because the pipe symbol "|" is indeed reserved to create multiple directories at the same level...
Author of Total Commander
https://www.ghisler.com
User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

theosdikaios wrote:2Valentino
Not only | can be used for this, but also / and \. E.g. "a\b\c", "a/b/c".
But this is different.
| makes 3 folders at the same level
\ makes one folder branch
Wow, indeed! Didn't know this...
Post Reply