This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
Wolfram Research, Inc.

Files for PackagesImporting and Exporting Files

2.11.6 Manipulating Files and Directories

Functions for manipulating files.

Different operating systems have different commands for manipulating files. Mathematica provides a simple set of file manipulation functions, intended to work in the same way under all operating systems.

Notice that CopyFile and RenameFile give the final file the same modification date as the original one. FileDate returns modification dates in the year, month, day, hour, minute, second format used by Date.

Functions for manipulating directories.

Files for PackagesImporting and Exporting Files