On Dec  3 17:45, Cedric Blancher via Cygwin wrote:
> Good evening!
> 
> What is the maximum path length and path element (single file, dirname
> length) in Win32 API,

https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation

> Cygwin APIs on Windows 11,

NAME_MAX is 255
PATH_MAX is 4096

Note that PATH_MAX is, per POSIX, *not* the maximum absolute path
length, as many people think:

https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/limits.h.html

Max path length is bound by OS limits per the above MSDN document.

> and SFU on Win7?

¯\_(ツ)_/¯

Win 7 support ends with Cygwin 3.5 anyway.


Corinna

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to