<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Hi Even, Philippe,</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Windows has two types of paths.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">The first is essentially the codepage and is about 260 characters.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">The second is the unicode pathname which is probably around 32k characters. I can't remember the actual limit.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">The cmd line and explorer only use the 260 character limit.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">So a unicode program can create a path that is not particularly useable via the cmd line or via explorer. cygwin bash shell works though.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">You have to use the win32 unicode versions of the file open etc... to use the nice long paths.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Regards</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Damian</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 23 November 2016 at 16:57, Bugbuster <span dir="ltr"><<a href="mailto:philippe.ghesquiere@airbus.com" target="_blank">philippe.ghesquiere@airbus.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Even,<br>
<br>
thanks for your long and detailed answer. I have plenty of information I can<br>
play around with.<br>
<br>
In fact, I managed to "cd" to the desired directory within a *Cygwin Mintty*<br>
windows. In this window, I do not have the "8.3 Windows renaming". In that<br>
way, I mimicked what I get with a system call from a JAVA program.<br>
<br>
I will try to see what we can do with the /"utilities as library methods"<br>
way/ as you say. We just need to upgrade to Gdal V2.1 :-)<br>
<br>
Thanks again for your help.<br>
Philippe<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Very-long-path-name-support-under-windows-tp5297074p5297164.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.<wbr>nabble.com/Very-long-path-<wbr>name-support-under-windows-<wbr>tp5297074p5297164.html</a><br>
<span class="im HOEnZb">Sent from the GDAL - Dev mailing list archive at Nabble.com.<br>
</span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/gdal-dev</a></div></div></blockquote></div><br></div>