The long filename system allows a maximum length of 255 UCS-2 characters including spaces and non-alphanumeric characters (excluding the following characters, which have special meaning within the COMMAND.COM command interpreter of the operating system kernel: \ / : * ? " < > |).
Long filename (LFN) Limits
Edit: Markdown Code format issue?