Instruction manual

6-18 ROM-DOS Commands
2325 Reference Guide Revision B 2325A137REFGD
/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.
/O attributes
The /O option causes the filenames to be displayed in sorted order. The
sort order can contain one or more of the following letters:
Letter Description
D By date and time, newest first
E Alphabetic order by extension
G Directories grouped before files
N Alphabetic order by name
S Size, smallest first
-
The dash (-) symbol can precede the sort option to reverse the sort order.
For example, to sort all files in the directory in reverse alphabetic order,
use the /O-N option.
/S
The /S option causes the display to include files in subdirectories also.
/W
Display list in a wide format without date, time, or size.
The DIRCMD environment variable can be used to set the default
preferences for the DIR command. The SET command will assign the
values to an environment variable. Refer to the SET command section
for proper usage. For example, if you wanted to always have the /P
option set for DIR, the statement SET DIRCMD=/P could be used. The
default settings in DIRCMD can be overridden by using the minus sign
(-) preceding the option. If you wanted to cancel the paging for a single
use of the DIR command, you would enter DIR /-P.