105
File management
Files such as host software and configuration files that are necessary for the operation of the device are saved
in the storage media of the device. manage files on your device through these operations: Performing
dire
ctory operations, Performing file operations, Performing batch operations, Performing storage media
operati
ons, Setting prompt modes, Setting prompt modes, Setting prompt modes, Setting prompt modes,
and Setting prompt modes.
Filename formats
When you specify a file, you must enter the filename in one of the following formats.
Format Descri
tion Len
th
Exam
le
file-name
Specifies a file in the current working
directory.
1 to 91
characters
a.cfg indicates a file named a.cfg in
the current working directory. If the
current working directory is on the
master, a.cfg represents file a.cfg on
the master; if the current working
directory is on a subordinate, a.cfg
represents file a.cfg on the
subordinate.
path/file-name
Specifies a file in the specified folder
in the current working directory. path
represents the folder name. Specify
multiple folders, indicating a file
under a multi-level folder.
1 to 135
characters
test/a.cfg indicates a file named
a.cfg in the test folder in the current
working directory.
drive:/[path]/
file-name
Specifies a file in the specified
storage medium on the device. drive
represents the storage medium
name. The storage medium on the
master is usually flash; the storage
medium on a subordinate is usually
slotX#flash, where X represents the
member ID of the subordinate, for
example slot2#flash. To view the
correspondence between a device
and its member ID, use display irf.
1 to 135
characters
flash:/test/a.cfg indicates a file
named a.cfg in the test folder in the
root directory of the flash memory on
the master.
To read and write the a.cfg file in the
root directory of the flash on a
subordinate (with the member ID 2),
enter slot2#flash:/a.cfg for the
filename.
Performing directory operations
Create or remove a directory, display the current working directory, the specified directory, file information,
and so on.