Comparison of file and directory name on different operating systems
Jump to navigation
Jump to search
Windows NTFS (New Technology File System) on Win
- Max. filename length: 255 characters[1]
- Case sensitive: allowed to be case sensitive after "Windows 10 April 2018 Update (version 1803)"[2]
macOS Mojave on macOS
$ cc -dM -E -xc - <<< '#include <sys/syslimits.h>' | grep -i ' [NP]A.._MAX' #define NAME_MAX 255 #define PATH_MAX 1024
References
- ↑ Naming Files, Paths, and Namespaces - Windows applications | Microsoft Docs
- ↑ How to enable NTFS support to treat folders as case sensitive on Windows 10 | Windows Central
- ↑ macos - Does OS X enforce a maximum filename length or character restriction? - Ask Different
- ↑ Filename Character Limit? - Apple Community
Related articles