LDIR
LDIRAN
instructions: output directory of current disc to printer
Ldir
Ldir path$
Ldir/W
Ldir path$ /W
These two commands are used in exactly the same way as DIR and DIR/W, as explained above, and they list the directory of the current disc to a printer.
SET DIR
instruction: set directory style
Set Dir number
Set Dir number,filter$
This command must be followed by a number ranging from 1 to 100, which sets the number of characters to be displayed from each filename. There is no effect on the names themselves, only on the way they are displayed. For example:
E> Set Dir 6 Dir
An optional string may be added to a SET DIR command, which has the effect of filtering out pathnames from the directory search. All filenames that match up with this filer will be completely ignored. Supposing a directory began like this:
AMO.IFF AMAL AMAT.IFF AMINIBUS AMINOACID AMENSROOM.IFF AMULET
SET DIR may now be used to restrict the display to three characters, as well as filtering out any IFF files, as follows:
D> Set Dir 5,".IFF"
The first two characters displayed are folder markers, this is why the value five is used instead of three.