Rename a file by sending the rename:new: message to the CfsFileDescriptor class, as in the following example: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.
|