This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Get (modified)ToFileName


FilledSmallSquareDirectoryName["name"] extracts the directory name from the specification for a file.

FilledSmallSquareDirectoryName works differently on different computer systems.

FilledSmallSquareDirectoryName["directory"] is normally equivalent to ParentDirectory["directory"].

FilledSmallSquareDirectoryName["name", n] applies DirectoryName n times to name.

FilledSmallSquareDirectoryName yields output appropriate for use in SetDirectory and ToFileName.

FilledSmallSquare If name contains no directory specification, DirectoryName["name"] returns "".

FilledSmallSquare See The Mathematica Book: Section 2.11.4.

FilledSmallSquare See also: $Input, Directory.

Get (modified)ToFileName