Programmer's Reference
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'.
- Note:
- 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.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]