Futurebasic/Language/Reference/rename

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Syntax[edit | edit source]

RENAME

Description[edit | edit source]

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 | edit source]

FOLDER; Appendix A: Specifying Files and Directories