File.prototype.rename()

Rename a file.

Syntax

file.rename(name string)

Description

Rename a file.

Examples

Example.