Rename – Allied Telesis AT-S63 User Manual

Page 149

Advertising
background image

AT-S63 Management Software Command Line Interface User’s Guide

149

RENAME

Syntax

rename "

filename1.ext

"

"

filename2.ext

"

Parameters

filename1.ext

Specifies the name of the file to be renamed.
If the name contains spaces, enclose it in
double quotes. Otherwise, the quotes are
optional.

filename2.ext

Specifies the new name for the file. The
filename can be from 1 to 15 alphanumeric
characters, not including the filename
extension. Spaces are allowed. If the name
contains spaces, it must be enclosed in
double quotes. The filename extension must
be the same as in the original filename. The
new name must be unique in the file system.

Description

This command renames a file. The source and destination file extensions
must be the same.

Note

You cannot rename files with a “.ukf” extension.

Example

The following command renames the file “Switch12.cfg” to “Sw 44a.cfg”:

rename Switch12.cfg "Sw 44a.cfg"

Advertising