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

Documentation / Mathematica / Built-in Functions / System Interface / File System /

FileType

FilledSmallSquare FileType["file"] gives the type of a file, typically File, Directory or None.

FilledSmallSquare FileType returns None if the file specified does not exist.

FilledSmallSquare See Section 2.12.6.

FilledSmallSquare See also: FileNames, FileByteCount.

FilledSmallSquare New in Version 2.