BUILT-IN WOLFRAM LANGUAGE SYMBOL

$PathnameSeparator

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

DetailsDetails

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

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

The pathname separator on a Unix system:

In[1]:=
Click for copyable input
Out[1]=

$PathnameSeparator is used as a separator:

In[1]:=
Click for copyable input
Out[1]//FullForm=
In[2]:=
Click for copyable input
Out[2]=
Introduced in 1991
(2.0)
| Updated in 2008
(7.0)