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

# DriveSeparator

Character used to separate directory parts.

## Declaration

Source position: sysunixh.inc line 32

`const DriveSeparator = '';`

## Description

On systems that support drive letters, the DriveSeparator constant denotes the character that separates the drive indicator from the directory part in a filename path.

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

DirectorySeparator |  | 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