#2079 MAX_PATH limitation

open
nobody
5
2012-12-21
2011-11-02
xandrewrampulla
No

WinMerge is suffering from a limitation on Windows XP when the full path to the file exceeds 260 character (MAX_PATH) and does not seem to support the \\?\ syntax to get around this problem. While this doesn't seem like a big deal, when working with multiple branches of java code where each package creates a new directory, it is very easy to exceed 260 characters.

See http://msdn.microsoft.com/en-us/library/aa365247.aspx for a discussion of the problem.

Current WinMerge version: 2.12.4.0 Unicode

Discussion

  • Jochen Tucht
    Jochen Tucht
    2011-11-05

    Next WinMerge 2011 beta will have partial support for paths longer than 260 characters. Partial means that copy/move/delete operations in directory view will retain the limit. This is due to SHFileOperation() simply refusing to work with longer paths. I'll probably later adapt some code from 7-Zip File Manager to fix the issue for directory view as well.