Michal,

Just search for and remove "\\?\".  This is a guaranteed "token" that
Microsoft has designated for long file name.  I just created a .NET method
in my StringEx class that checks for that prefix (starting at pos 0) and if
it exists, removes it, otherwise it returns the original string.

Shawn 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Michal Altair Valasek
Sent: Monday, August 11, 2003 10:32 PM
To: [EMAIL PROTECTED]
Subject: [xmail] Re: "\\?\" in file name: bug or feature


|It is no problem. You can refer to Microsoft's document.
|Sorry I can't tell you the detail.

This *IS* problem, because file with that name cannot be opened (at least
under .NET). Unfortunately, searching for such obscure string is near to
impossible, so if you would remember more exact location, I'll be grateful.

Anyway, I solved it by removing these characters from beginning of string,
but i want to know what's this?

-- Altair

-
To unsubscribe from this list: send the line "unsubscribe xmail" in the body
of a message to [EMAIL PROTECTED] For general help: send the line
"help" in the body of a message to [EMAIL PROTECTED]




-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to