On Wed, Oct 30, 2019 at 11:42 AM Bo Berglund via lazarus
<lazarus@lists.lazarus-ide.org> wrote:

> >Windows knows specials paths starting with '\\'.
>
> But I don't! :(
> What is special with these?

\\?\C:\foo\bar\..\..
is not the same path as
C:\foo\bar\..\.. (which basically is C:\)

If a path starts with \\?\ like above, all characters in the path are
taken literally (so you cannot construct a relative path), or ot is
used to build a UNC path: \\?\UNC\
IIRC then also device names start with \\.\ or something the like.

See https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file

Bart



-- 
Bart
-- 
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to