The maximum bytes for a path is 4096. And the maximum bytes for a file name is 255 bytes. So, that means: because the character is equal to 2 bytes, it will be like: max character for file name = 255 bytes / 2 bytes for a character = 127 character. max character for path = 4096 bytes / 2 bytes for a character = 2048 character.