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


attempts to determine what Import format could be used to import the file or URL corresponding to "name".
  • FileFormat uses heuristic methods, and may not give correct results, particularly for shorter files.
  • FileFormat get clues from both names of files and properties of files recorded in the filesystem, but bases the final result it returns only on the actual contents of files.
New in 6