<p>Am 17.01.2016 14:23 schrieb "Jürgen Hestermann" <<a href="mailto:juergen.hestermann@gmx.de">juergen.hestermann@gmx.de</a>>:<br>
> >> I did not find any comments that mentions long paths<br>
> > You need new glasses then ;-)<br>
> > === code ==<br>
> > //if Filename uses ExtendedLengthPath scheme then it cannot be expanded<br>
> > //AND it should not be altered by ForcePathDelims or ResolveDots<br>
> > //See: <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx">http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx</a><br>
> > if (Length(Fn) > 3) and (Fn[1] = PathDelim) and (Fn[2] = PathDelim) and<br>
> > (Fn[3] = '?') and (Fn[4] = PathDelim) //Do NOT use<br>
> > AllowDirectorySeparators here!<br>
> > then Exit;<br>
> > === end code ===<br>
><br>
> I have read this but how is this related to \\?\ and long paths?<br>
> What is ExtendedLengthPath scheme?<br>
> I don't see any information about W functions and \\?\ prefix.</p>
<p>Did you look at the if-clause following the comment? What do you think PathDelim + PathDelim + '?' + PathDelim evaluates to?<br></p>
<p>Regards,<br>
Sven</p>