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