ES2.Rename

public static void Rename(string path, string newPath, ES2Settings settings=null)

Parameters

path The path of the file we want to rename.

newPath

The new path and name of our file after being renamed.

settings

Optional. A user-created ES2Settings object containing options not specified in path.

Description

Renames or moves a file from one path to another.

Note: This can be a relative or absolute path, but cannot be a tag.

C#

JS