|
|
|||
|
|
| Mathematica Tutorial | Functions »|Tutorials » |
| CopyFile["file1","file2"] | copy file1 to file2 |
| RenameFile["file1","file2"] | give file1 the name file2 |
| 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.
| CreateDirectory["name"] | create a new directory |
| DeleteDirectory["name"] | delete an empty directory |
| DeleteDirectory["name",DeleteContents->True] | |
| delete a directory and all files and directories it contains | |
| RenameDirectory["name1","name2"] | rename a directory |
| CopyDirectory["name1","name2"] | copy a directory and all the files in it |
| © 2013 Wolfram Research, Inc. |