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

  • FileType[" file "] gives the type of a file, typically File, Directory or None.
  • FileType returns None if the file specified does not exist.
  • See the Mathematica book: Section 2.11.6.
  • See also: FileNames, FileByteCount.