24. File System Management Commands
24.4. cd
Description
This command is used to change the current directory. The user can change the
current directory to another drive using this command. The current drive and current
directory will be displayed if the <pathname> is not specified.
Format
cd {<pathname>}
Parameters
<pathname>
(Optional) Specify the directory to be changed. The path name can be specified either as
a full path name or partial name. For a partial path name, it indicates the file is in the
current directory.
Restrictions
None.
Example
To change a work directory:
Zxxx0:admin#cd d1
Command: cd d1
Current work directory: "c:/d1"
Zxxx0:admin#
24.5. dir
Description
This command is used to list all of the files located in a directory of a drive. If a path
name 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 directory will be
displayed. If a user lists the system directory, the used space will be shown.
Format
dir {{unit <unit_id>} <drive_id>} {<pathname>}
200