Name
hw_Rename -- rename a file system object (V5.0)
Synopsis
int ok = hw_Rename(STRPTR oldname, STRPTR newname);
Function
This function renames the specified file system object to the new name. It can be used to rename either a file or a directory.

This function is thread-safe.

Designer compatibility
Supported since Designer 4.0

Inputs
oldname
file system object to rename
newname
new name for file system object
Results
ok
True on success, False otherwise

Show TOC