Futurebasic/Language/Reference/rename

Syntax

edit

RENAME

Description

edit

Changes the name of a file or folder from the name specified in oldPath$ to the name specified in newPath$. The oldPath$ and newPath$ parameters are used along with refNum% and dirID& to determine the location of the item to be renamed: see Appendix A: Specifying Files and Directories, for more information. You cannot use RENAME to move an item into a different directory: oldPath$ and newPath$ must both refer to items in the same directory.

See Also

edit

FOLDER; Appendix A: Specifying Files and Directories