EasyManua.ls Logo

D-Link DGS-1510/ME Series - Page 247

D-Link DGS-1510/ME Series
654 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide
243
Format
dir {<drive_id>} {<pathname>}
Parameters
<drive_id> - (Optional) Enter the drive ID used, for example, C:.
<pathname> - (Optional) Enter the directory to be removed. The path name can be specified either as a full path
name or partial name. For partial path name, it indicates the file is in the current directory.
Restrictions
None.
Example
List the files:
DGS-1510-28XMP/ME:admin# dir
Command: dir
Directory of /c:
Idx Info Attr Size Update Time Name
--- ------- ---- -------- ------------------- ----------------
1 RUN(*) -rw- 5491536 2000/01/01 00:41:03 DES3200_RUNTIME_V4.00.014.had
2 CFG(*) -rw- 31142 2000/01/01 02:19:40 config.cfg
3 d--- 2000/01/01 00:00:16 system
29618 KB total (24127 KB free)
(*) -with boot up info (b) -with backup info
DGS-1510-28XMP/ME:admin#
29-6 rename
Description
This command is used to rename a file. Note that for standalone device, the unit argument is not needed. 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 {<drive_id>} <pathname> <filename>
Parameters
<drive_id> - (Optional) Enter the drive ID used, for example, C:.
<pathname> - Enter the file (in path form) to be renamed.
<filename> - Enter the new name of the file.

Table of Contents

Related product manuals