[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'System' (#rtl)

# FileNameCasePreserving

OS preserves case in filenames when creating or renaming entries.

## Declaration

Source position: sysunixh.inc line 53

`const FileNameCasePreserving: Boolean = True;`

## Description

FileNameCasePreserving is True if case of letters in file and directory entries is preserved and may be later retrieved exactly as supplied when creating or renaming these entries. Note that this may depend on the file system: Unix operating systems that access a DOS or Windows partition will have this constant set to true, but when writing to the DOS partition, all letters may be automatically converted to uppercase.

This constant is part of a set of constants that describe the OS characteristics. These constants should be used instead of hardcoding OS characteristics.

## See also

DriveSeparator |  | Character used to separate directory parts.
DirectorySeparator |  | Character used to separate directory parts.
LineEnding |  | Constant describing the current line ending character.
LFNSupport |  | Constant describing support for long filenames.
FileNameCaseSensitive |  | OS treatment of filenames is case sensitive.
PathSeparator |  | Character used to separate paths in a search list
DefaultTextLineBreakStyle |  | Default line ending style.