Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica >
BUILT-IN MATHEMATICA SYMBOL|See Also »

$PathnameSeparator

$PathnameSeparator
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.
The pathname separator on a Windows system:
$PathnameSeparator is used as a separator:
The pathname separator on a Windows 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]=
New in 2 | Last modified in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF