This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / New in Version 3.0 / System Interface  /
ToFileName

  • ToFileName[" directory ", " name "] assembles a full file name from a directory name and a file name.
  • ToFileName[ , , ... , name ] assembles a full file name from a hierarchy of directory names.
  • ToFileName[ , , ... ] assembles a single directory name from a hierarchy of directory names.
  • ToFileName works differently on different computer systems.
  • ToFileName just creates a file name; it does not actually search for the file specified.
  • ToFileName["", " name "] gives " name ".
  • See the Mathematica book: Section 2.11.4.
  • See also: DirectoryName, Get, $Input.