notepad4 icon indicating copy to clipboard operation
notepad4 copied to clipboard

Long Path Aware

Open zufuliu opened this issue 4 years ago • 2 comments

path longer than MAX_PATH (260) can be handled with Win32 API by uisng \\?\ prefix. e.g. document for CreateFileW function:

In the ANSI version of this function, the name is limited to MAX_PATH characters. To extend this limit to 32,767 wide characters, use this Unicode version of the function and prepend "\?" to the path. For more information, see Naming Files, Paths, and Namespaces.

zufuliu avatar Sep 26 '21 14:09 zufuliu

TotalCMD64_dPu8GVyX03 希望能早点解决这个问题

Mapaler avatar Apr 17 '24 13:04 Mapaler

希望能早点解决这个问题

Here are 300+ usages of MAX_PATH in notepad2 and metapath (150+ each), so it requires large amount of work. Also, low priority as long path is still not the default as of Windows 11 23H2.

zufuliu avatar Apr 18 '24 12:04 zufuliu