This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
Built-in Mathematica Symbol|See Also »

$PathnameSeparator

Updated In 7 Graphic
$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:
New in 2 | Last modified in 7