System information

1.4.2 DIR Command
Syntax:
DIR afn
The DIR (directory) command causes the names of all files that satisfy the ambiguous filename
afn to be listed at the console device. As a special case, the command
DIR
lists the files on the currently logged disk (the command DIR is equivalent to the command DIR
*.*). The following are valid DIR commands:
DIR X.Y
DIR X?Y.C?M
DIR ??.Y
Similar to other CCP commands, the afn can be preceded by a drive name. The following DIR
commands cause the selected drive to be addressed before the directory search takes place:
DIR B:
DIR B:X.Y
DIR B:*.A?M
If no files on the selected disk satisfy the directory request, the message NO FILE appears at the
console.
1.4 Built-in Commands CP/M Operating System Manual
1-9