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

# DirectorySeparator

Character used to separate directory parts.

## Declaration

Source position: sysunixh.inc line 31

`const DirectorySeparator = '/';`

## Description

DirectorySeparator is the character used by the current operating system to separate directory parts in a pathname. This constant is system dependent, and should not be set.

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.
LineEnding |  | Constant describing the current line ending character.
LFNSupport |  | Constant describing support for long filenames.
PathSeparator |  | Character used to separate paths in a search list
FileNameCaseSensitive |  | OS treatment of filenames is case sensitive.
FileNameCasePreserving |  | OS preserves case in filenames when creating or renaming entries.
DefaultTextLineBreakStyle |  | Default line ending style.

Documentation generated on: May 14 2021