xStack
cd
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
To change to other directory or display current directory path:
DGS-3627:admin#cd c:\
Command: cd c:\
Change Unit 1 path to c:\
Success.
DGS-3627:admin#
dir
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
List the files without specified the parameter "all":
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
This command is used to change the current directory.
cd {<pathname 64>}
This command is used to change the current directory. The current directory is changed
under the current drive. If you want to change the working directory to the directory in another
drive, then you need to change the current drive to the desired drive, and then change the
current directory. The current drive and current directory will be displayed if the <pathname>
is not specified.
<pathname 64> - (Optional) Specifies 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. This name can be up to 64 characters long.
Only Administrator and Operator-level users can issue this command.
List all of the files located in a directory of a drive.
dir {{unit [<unitid 1-12>|all]} <drive_id>}
List all of the files located in a directory of a drive.
If pathname is not specified, then all of the files in the specified drive will be displayed. If
none of the parameters are specified, the files in the current drive will be displayed.
unit - (Optional) Specifies a unit ID if in the stacking system. If not specified, it refers to the
master unit.
<unit 1-12> - Enter the unit ID here. This value must be between 1 and 12.
all - (Optional) Lists all unit located files in stacking system.
<drive_id> - Specifies the drive ID used.
Only Administrator and Operator-level users can issue this command.
286
Need help?
Do you have a question about the xStack and is the answer not in the manual?
Questions and answers