8 rename, Rename – PLANET WGSW-52040 User Manual
Page 120
Advertising

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:
<source-file-url> is the source file, in which whether specifying or not its path are both acceptable; <new-filename>
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:
Advertising