beautypg.com

8 rename, Rename – PLANET WGSW-52040 User Manual

Page 120

background image

2-119

None.

Command Mode:

Admin Mode.

Default Settings:

The default directory is flash.

Example:

Display the current working directory.

Switch#pwd

flash:/

Switch#

2.8 rename

Command:

rename <source-file-url> <new-filename >

Function:

Rename a designated file on the switch.

Parameters:

is the source file, in which whether specifying or not its path are both acceptable;

is a filename without specifying its path.

Command Mode:

Admin Mode.

Default Settings:

None.

Usage Guide:

When using this command, if the new file name is not used as that of any existing directory or file, the rename

operation can be done, or a prompt will indicate its failure.

Example: