2.12.6 Manipulating Files and Directories
CopyFile[" ", " "] | copy to | RenameFile[" ", " "] | give the name | | DeleteFile["file"] | delete a file | | FileByteCount["file"] | give the number of bytes in a file | | FileDate["file"] | give the modification date for a file | | SetFileDate["file"] | set the modification date for a file to be the current date | | FileType["file"] | give the type of a file as File, Directory or None |
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.
|