dirRename

dirRename

Renames a directory in place.

Method of

File object

Syntax

int dirRename( FileSpecObject directory, String newname );

Parameters

The dirRename method has the following parameters:

directory
A FileSpecObject representing the directory to be renamed.
newname
The new terminal (or leaf) name of the directory.

Returns

An integer error code. For a list of possible values, see Return Codes.

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh, Fredchat, Rod Whiteley
 Last updated by: Sheppy,