08.06.2013 Views

DIGITAL RESEARCH TM CP/M Operating System Manual CP/M ...

DIGITAL RESEARCH TM CP/M Operating System Manual CP/M ...

DIGITAL RESEARCH TM CP/M Operating System Manual CP/M ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1.4 Built-in Commands <strong>CP</strong>/M <strong>Operating</strong> <strong>System</strong> <strong>Manual</strong><br />

1.4.2 DIR Command<br />

Syntax:<br />

DIR afn<br />

The DIR (directory) command causes the names of all files that satisfy the ambiguous filename<br />

afn to be listed at the console device. As a special case, the command<br />

DIR<br />

lists the files on the currently logged disk (the command DIR is equivalent to the command DIR<br />

*.*). The following are valid DIR commands:<br />

DIR X.Y<br />

DIR X?Y.C?M<br />

DIR ??.Y<br />

Similar to other C<strong>CP</strong> commands, the afn can be preceded by a drive name. The following DIR<br />

commands cause the selected drive to be addressed before the directory search takes place:<br />

DIR B:<br />

DIR B:X.Y<br />

DIR B:*.A?M<br />

If no files on the selected disk satisfy the directory request, the message NO FILE appears at the<br />

console.<br />

1-9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!