The maximum number of characters a file name or folder name can have
This article will explain in detail how many characters a file name or folder name can have, and the content of the article is of high quality, so the editor will share it for you as a reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
Both file and directory names have a maximum length limit in the operating system, and the maximum length varies from system to system.
These restrictions on Linux systems can be modified by modifying the system kernel.
The length limit of Linux file names is 255characters.
The fully qualified file name under windows must be less than 260characters, and the directory name must be less than 248characters.
Win7x64 bit environment:
260 lengths are used as the total file name length limit.
For example, the length of the folder is 50
The length of the file name is limited to 210, and the excess will be truncated.
If in the program, if the length is exceeded, MoveFile/CopyFile will return an error and the processing will fail.
About the file name or folder name can have up to how many characters to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.