NTFS file systems can support filenames up to 255 characters. Since MS-DOS cannot recognize long filenames, Windows NT server automatically translates long names of files and folders to 8-character filenames with 3-character extensions for MS-DOS users.
In general, avoid the following symbols when you create filenames and directories:
“ / \ : * ? | < > & ( ) ; @ ~ and non-printing characters.
In addition, for full UNC compliance, it is suggested that you avoid any characters beyond:
A through Z, a through z, 0 through 9, and - (hyphen).