is a string used as a separator when full file and directory names are constructed.


  • The default value is "\\" under Windows, and "/" elsewhere.
  • Functions such as FileNameSplit by default allow both \ and / as separators under Windows.


Basic Examples  (2)

The pathname separator on a Unix system:

$PathnameSeparator is used as a separator:

Introduced in 1991
Updated in 2008