In HPFS, file names can be up to 255 characters long (one must be a terminating NULL, "\0"). Directory names can also be 255 characters long, but the length of the complete path, including drive, directories, and file name, cannot exceed 260 characters.
Certain characters that are illegal in the FAT file system are legal in HPFS file names:
+ = ; , [ ]
Also, blank spaces can be used anywhere in an HPFS file name or directory name, but blank spaces and periods at the end of a file name are ignored. Additionally, the period (.) is a valid file name character and can be used as many times as desired. There is no requirement that HPFS file names have extensions; however, many applications still create and use them.
An HPFS file name can be all uppercase, all lowercase, or mixed case. The case is preserved for directory listings but is ignored in file searches and all other system operations. Therefore, in a given directory, there cannot be more than one file with the same name when the only difference is case.
File-Naming Rules for Installable File Systems
For file objects managed by OS/2 installable file systems, the following
rules apply:
+ = ; , [ ]
as well as all characters legal for the FAT file system.