This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
File Operations
In addition to a rich set of standard file operations, Mathematica's unified symbolic architecture makes it easy to apply algorithmic approaches and efficient higher-level programming to many file and system administration tasks.
FileNames list names of files or directories at any depth in the file system
File Properties
FileDate  ▪ FileByteCount  ▪ SetFileDate  ▪ FileType  ▪ FileHash  ▪ FileFormat
File Utilities
FindList search for strings in lists of files
Splice splice Mathematica results into a file
FilePrint display the raw contents of a file
DirectoryQ test whether a name corresponds to an existing directory
Finding Files
FindFile find a file on $Path, etc.
FileNameSetter interactively browse for a file
FileNameSplit, FileNameJoin split, join file name strings
Import  ▪ Export  ▪ Get(<< ▪ Put(>> ▪ ReadList  ▪ BinaryReadList  ▪ ...
OpenRead  ▪ OpenWrite  ▪ Streams  ▪ Read  ▪ Skip  ▪ ...