Renaming files
Rename a file by sending the rename:new: message to the CfsFileDescriptor class, as in the following example:
CfsFileDescriptor rename: 'oldname.txt' new: 'newname.txt'.
If supported by the platform file system, rename:new: can also be used to rename directories or move files between directories on the same drive or device.
Last modified date: 01/29/2015