FileType
Examples
open allclose allBasic Examples (2)Summary of the most common use cases
$UserBaseDirectory is a directory:
In[1]:=1

✖
https://wolfram.com/xid/0e7npnni-6pjqah
Out[1]=1

A typical file in the Wolfram System program layout:
In[1]:=1

✖
https://wolfram.com/xid/0e7npnni-2mya4j
Out[1]=1

Scope (1)Survey of the scope of standard use cases
Find the type of the file specified by the File object:
In[1]:=1

✖
https://wolfram.com/xid/0e7npnni-byirv4
In[2]:=2

✖
https://wolfram.com/xid/0e7npnni-bzvdwh
Out[2]=2

Wolfram Research (1991), FileType, Wolfram Language function, https://reference.wolfram.com/language/ref/FileType.html (updated 2016).
✖
Wolfram Research (1991), FileType, Wolfram Language function, https://reference.wolfram.com/language/ref/FileType.html (updated 2016).
Text
Wolfram Research (1991), FileType, Wolfram Language function, https://reference.wolfram.com/language/ref/FileType.html (updated 2016).
✖
Wolfram Research (1991), FileType, Wolfram Language function, https://reference.wolfram.com/language/ref/FileType.html (updated 2016).
CMS
Wolfram Language. 1991. "FileType." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/FileType.html.
✖
Wolfram Language. 1991. "FileType." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/FileType.html.
APA
Wolfram Language. (1991). FileType. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FileType.html
✖
Wolfram Language. (1991). FileType. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FileType.html
BibTeX
✖
@misc{reference.wolfram_2025_filetype, author="Wolfram Research", title="{FileType}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/FileType.html}", note=[Accessed: 29-March-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_filetype, organization={Wolfram Research}, title={FileType}, year={2016}, url={https://reference.wolfram.com/language/ref/FileType.html}, note=[Accessed: 29-March-2025
]}