Download Lucent Technologies R5SI Computer Hardware User Manual

Transcript
6-18
ROM-DOS Commands
DIR
Type
Internal
Purpose
Displays a list of the files that are in a directory.
Syntax
DIR [d:][path][filename][/option]
Remarks
The DIR command can be used to list all the files in a directory, or to
show the directory entries of specific files. The standard directory
display format includes columns for filenames, filename extensions, file
sizes, and the dates and times the files were created.
Options
/A attributes
The /A option causes the DIR command to display only the files that
match the specified filespec and have the given attribute. The table
below shows the legal attribute descriptions.
Letter
Description
A
Archive
D
Directories
H
Hidden files
R
Read-only files
S
System files
X
Show attributes
The dash (-) symbol can be used to negate listed attributes. For example,
to select all files that do not have the archive bit set, use the /A -A
option.
MX2 Reference Guide
Revision A
MX2A137REFGD