action.skip

RENAME

Syntax: rename <server filename> <new filename>

The RENAME command changes the name of a server file to the new name specified. On some servers, you can use RENAME to specify both a new name and a new location for the file. In this case, the file is moved to the new location and given the new name specified.

<server filename> Specifies the name of the server file you want to rename. The specification can include the name of the server folder where the file is located. Use quotation marks if the file or path includes spaces. For example: "/Maps/North America".
<new filename> Specifies the name you want to give the file. Use quotation marks if the file or path includes spaces. For example:

"D:\To do\Work assignments"

On some servers, if you omit the path to the file you are renaming, the file is moved to the current server folder and given the new name. If you want to use RENAME to move a file, specify a new location and file name.

Example

In the current folder on the server, this command renames the file "Map of Canada" to "Canada":

RENAME "Map of Canada" Canada

From the "Maps" folder on the server , this command renames a file in the folder "Europe", changing the name from "England" to "Great Britain".

RENAME /Maps/Europe/England "/Maps/Europe/Great Britain"