
B-12
Falcon
®
DOS Portable Terminals
DIR
Type
Internal
Purpose
Displays a list of the files that are in a directory.
Syntax
DIR [
filespec
][/
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.
-
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.
/B
The
/B
, or bare, option causes the display to be displayed without volume
label, date, time, or size information.
/L
The
/L
option causes the filenames to be displayed in lowercase.
/P
The
/P
option selects page mode, which makes ROM-DOS pause the display
each time the screen is full. Press any key to go on to the next page of entries.
Letter
Description
A
Archive
D
Directories
H
Hidden files
R
Read-only files
S
System files
X
Show attributes
advuser.book Page 12 Friday, September 27, 2002 4:22 PM