< Futurebasic < Language < Reference

Syntax

RENAME

Description

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

FOLDER; Appendix A: Specifying Files and Directories

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.