This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
Files
Mathematica provides convenient and efficient system-independent functions for handling file-related constructs at all levels.
"file" ordinary named file
"!program" pipe
"http:...", etc. — web-type URL
    
Complete Files
Import, Export import and export in hundreds of formats
ReadList read unstructured data from a file
FilePrint display the raw contents of a file
File Searching
FindList find strings in lists of files
FileNames find files by name
OpenRead, OpenWrite open files
Read, Write, WriteString read and write individual data elements
Find  ▪ Skip  ▪ SetStreamPosition  ▪ ...
Get (<<) — get Mathematica expressions from a file (.m file)
Put (>>), PutAppend (>>>) — put Mathematica expressions into a file (.m file)
Save  ▪ Splice  ▪ DumpSave  ▪ Encode
    
FileDate  ▪ FileByteCount  ▪ FileNames  ▪ FileHash  ▪ CopyFile  ▪ ...
TUTORIALS
TUTORIAL COLLECTION
MORE ABOUT