在 2023-03-29 21:33, Corinna Vinschen 写道:
I don't think this is correct. Multiple backslashes are folded into a
single backslash by the Windows API layer. Thus \\host\\share is not
equivalent to
\\host\\
but to
\\host\share
Try this example, please:
Well, I didn't use `GetFinalPathNa
On Mar 29 19:34, LIU Hao wrote:
> 在 2023/3/29 16:40, Corinna Vinschen 写道:
> > > > No, this would allow splitting `\\host\\share` as `host` and `share`. In
> > > > this path the share name is `\share`, and does not match `share`.
> >
> > I was just pointing out that "\foo" can't be a share name, be
在 2023/3/29 16:40, Corinna Vinschen 写道:
No, this would allow splitting `\\host\\share` as `host` and `share`. In
this path the share name is `\share`, and does not match `share`.
I was just pointing out that "\foo" can't be a share name, because
backslashes can't be part of a name.
On second t
On Mar 29 09:14, LIU Hao wrote:
> 在 2023/3/29 01:53, Corinna Vinschen 写道:
> > Backslahs is one of the characters not allowed as part of a share
> > name, just as it is not allowed as part of a filename. I. e.
> >
> >\\host\share is ok
> >\\host\\share can't exist
>
> Yes, so the backslas