beautypg.com

Rename – Allied Telesis AT-S62 User Manual

Page 231

background image

AT-S62 Command Line User’s Guide

231

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 16 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”