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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>CP</strong>/M 3 User's Guide 5.2 How Commands Are Described<br />

Using this syntax, you can construct several valid command lines:<br />

DIR<br />

DIR X.PAS<br />

DIR X.PAS [RO]<br />

DIR X.PAS [SYS]<br />

DIR *.PAS<br />

DIR *.* [RW]<br />

DIR X.* [DIR]<br />

The <strong>CP</strong>/M 3 command PIP (Peripheral Interchange Program) is the file copy program.<br />

PIP can copy information from the disk to the screen or printer. PIP can<br />

combine two or more files into one longer file. PIP can also rename files after copying<br />

them. Look at one of the formats of the PIP command line for another example of<br />

how to use command line notation. PIP also copies files from one disk to another<br />

disk.<br />

Syntax: PIP dest-filespec = src-filespecf{,filespec ... }<br />

In the preceding example, dest-filespec is further defined as a destination file specification<br />

or peripheral device (printer, for example) that receives data. Similarly, srcfilespec<br />

is a source file specification or peripheral device (keyboard, for example) that<br />

transmits data. PIP accepts wildcards in the filename and filetype. (See the PIP command<br />

for details regarding other capabilities of PIP.) There are, of course, many valid<br />

command lines that come from this syntax. Some examples follow.<br />

PIP NEWFILE.DAT=OLDFILE.DAT<br />

PIP B:=A:THISFILE.DAT<br />

PIP B:X.BAS=Y.BAS, Z.BAS<br />

PIP X.BAS=A.BAS, B.BAS, C.BAS<br />

PIP B:=A:*.BAK<br />

PIP B:=A:*.*<br />

The remainder of this section contains a complete description of each <strong>CP</strong>/M 3 util ity.<br />

The descriptions are arranged alphabetically for easy reference.<br />

5-8

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

Saved successfully!

Ooh no, something went wrong!