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.

5.1 Let's Get Past the Forinalities <strong>CP</strong>/M 3 User's Guide<br />

This general form is called a file specification. A file specification names a particular<br />

file or group of files in the directory of the on-line disk given by the drive<br />

specifier. For example,<br />

B:MYFILE.DAT<br />

is a file specification that indicates drive B:, filename MYFILE, and filetype DAT. File<br />

specificat'on is abbreviated to<br />

filespec<br />

in the command syntax statements.<br />

Some <strong>CP</strong>/M 3 commands accept wildcards in the filename and filetype parts of the<br />

command tall. For example,<br />

B:MY*.A??<br />

is a file specification with drive specifier B:, filename MY*, and filetype A??. This<br />

ambiguous file specification might match several files in the directory.<br />

Put together, the parts of a file specification are represented like this:<br />

d:filename.typ;password<br />

In the preceding form, d: represents the optional drive specifier, filename represents<br />

the one- to eight-character filename, and typ represents the optional one- to threecharacter<br />

filetype. The syntax descriptions in this section use the term filespec to<br />

indicate any valid combination of the elements included in the file specification. The<br />

following list shows valid combinations of the elements of a <strong>CP</strong>/M 3 file specification.<br />

o filename<br />

o filename.typ<br />

o filename;password<br />

o filename.typ;password<br />

o d: filename<br />

o d:filename.typ<br />

o d:filename;password<br />

o d: filename. typ;password<br />

5-2

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

Saved successfully!

Ooh no, something went wrong!