FileType

FileType["file"]

gives the type of a file, typically File, Directory, or None.

Details

Examples

open allclose all

Basic Examples  (2)

$UserBaseDirectory is a directory:

A typical file in the Wolfram System program layout:

Scope  (1)

Find the type of the file specified by the File object:

Introduced in 1991
 (2.0)
 |
Updated in 2016
 (11.0)