DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
320
DWS-3160-24PC:admin#dir
Command: dir
Directory of /c:
Idx Info Attr Size Update Time Name
--- ------- ---- -------- ------------------- ----------------
1 CFG(*) -rw- 80878 2000/01/28 23:17:20 config.cfg
2 drw- 0 2000/01/01 00:09:17 wireless
3 RUN(*) -rw- 8235804 2000/01/21 03:32:05 runtime.had
4 d--- 0 2000/01/28 21:53:55 system
29618 KB total (21363 KB free)
(*) -with boot up info (b) -with backup info
DWS-3160-24PC:admin#
30-7
rename
Description
This command is used to rename a file. This command is used to rename a file in the file system.
The pathname specifies the file (in path form) to be renamed and the filename specifies the new
filename. If the pathname is not a full path, then it refers to a path under the current directory for
the drive. The renamed file will stay in the same directory.
Format
rename <pathname 64> <filename 64>
Parameters
<pathname 64>
- Specified the file (in path form) to be renamed. This name can be up to 64
characters long.
<filename 64>
- Specified the new name of the file. This name can be up to 64 characters long.
Restrictions
Only Administrators and Operators can issue this command.
Example
To rename a file:
DWS-3160-24PC:admin# rename run.had run1.had
Command: rename run.had run1.had
Success.
DWS-3160-24PC:admin#