![D-Link xStack DGS-3612G series Cli Manual Download Page 71](http://html1.mh-extra.com/html/d-link/xstack-dgs-3612g-series/xstack-dgs-3612g-series_cli-manual_3519854071.webp)
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
68
Example usage:
To rename a file:
DGS-3627:5#rename C:\ abc.txt cba.txt
Command: rename C:\ abc.txt cba.txt
Success.
DGS-3627:5#
dir
Purpose
Used to list the files located on the flash memory drive, labeled
c:
.
Syntax
dir {{unit [<unitid 1-12> | all]} <drive_id>}
Description
This command is used to display files saved to the flash directory of
the Switch. Since there is only one labeled drive located on the flash,
the user can only input the command
dir c:
to view the contents of
the flash memory.
Parameters
unit <unitid 1-12>
– Select the switch in the switch stack where the
files are, that will be displayed, denoted by unit ID number.
all
– Use this parameter to select all switches in the switch stack.
<drive_id>
– Enter the drive ID of the internal flash drive to be
viewed.
Restrictions None.
Example usage:
To view the directory files on the internal flash drive:
DGS-3627:5#dir c:
Command: dir C:\
DGS-3627:5#dir c:
Command: dir C:\
--------------------------------------------------------------
Current Unit ID: 1
Current Directory: C:\
File Name Size(byte) Update Time
------------------------ -------------- --------------
LOG.TXT 851968 bytes 2008/11/19 10:07
RUN.HAD (*) 3529208 bytes 2008/11/19 10:02
STARTUP.CFG (*) 5655 bytes 2008/11/19 10:07
--------------------------------------------------------------
Total Files 3
Total Size 4386831 bytes
Free Space 11141120 bytes
'*' means boot up section
DGS-3627:5#