DIR
command on an &os2;
command line.
In many cases, the real name is identical to the object title (as displayed on the "Icon" page); however, file-system names have certain limitations.
For object titles, the only restriction is that they cannot
be longer than 256 characters, and that the backslash (\
)
character is forbidden.
By contrast, depending on the object's file system, the following restrictions apply to the object's real name:
< > | + = : ; , " / [ ]
In addition, the FAT file system is not case-preserving.
< > | : " /
\
) is invalid
with every file system because it is used as the
path
separator in &os2;.
If the title of the file-system object obeys these restrictions, the
real name is identical to the title.
However, if not, the WPS modifies the
title to match these restrictions by truncating it to the allowed file-name
length and replacing illegal characters with exclamation marks (!
).
The original title is then stored with the object in the .LONGNAME
extended attribute.
In that case, the "real name" that is displayed with the
DIR
command from the &os2; command line is different from the
title displayed in the WPS folder.
Examples: