Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > File Operations >

FileFormat

FileFormat["name"]
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
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team