|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
FileFormat
FileFormat["name"]
attempts to determine what Import format could be used to import the file corresponding to
.
DetailsDetails
- FileFormat returns a format name of the type used by Import.
- FileFormat uses heuristic methods, and may not give correct results, particularly for shorter files.
- FileFormat does not verify that Import would succeed if applied to
. - FileFormat gets 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
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
