03.03.2013 Views

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>CP</strong>/M 3 User's Guide The DIR Command<br />

A >DIR C: [USER= (3 ,4 , 10) ]<br />

This example displays all the files under user numbers 3, 4, and 10 on<br />

drive C.<br />

A>DIR [DRIVE=ALL]<br />

Displays all the files under user 0 on all the drives in the drive search<br />

chain. (See the SETDEF command.)<br />

4A>DIR [DRIVE=C]<br />

Displays all the files under user 4 on drive C.<br />

A >DIR [DRIVE= (B ,D) ]<br />

Displays all the files under user 0 on drives B and D.<br />

A>DIR ]lexclude] *.COM<br />

The preceding example above lists all the files on the default drive and<br />

user 0 that do not have a filetype of COM.<br />

A>DIR [user=all ,drive=all ,sys] *.PLI *.COM *.ASM<br />

The preceding command line instructs DIR to list all the system files of<br />

type PLI, COM, and ASM on the system in the currently active drives<br />

for all the user numbers on the drives.<br />

A >DIR X. SUB [MESSAGE , USER=ALL ,DRIVE=ALL]<br />

The preceding command searches all drives under each user number for<br />

X.SUB. During the search, DIR displays the drives and user numbers.<br />

A>DIR [drive=all ,user=all] TESTFILE.BOB<br />

The preceding example instructs DIR to display the filename<br />

T'ESTFILE.BOB if it is found on any logged-in drive for any user number.<br />

5-27

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

Saved successfully!

Ooh no, something went wrong!