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.

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

A>SET MYFILE.TEX [RW DIR]<br />

The preceding command sets MYFILE.TEX to Read-Write with the<br />

Directory (DIR) attribute.<br />

Set Drive Attribute<br />

Syntax: SET {d:} [RO]<br />

SET {d:} [RW]<br />

Explanation: The preceding SET commands set the specified drive to Read-Only or<br />

Read-Write.<br />

If a drive is set to Read-Only, PIP cannot copy a file to it, ERASE<br />

cannot delete a file from it, RENAME cannot rename a file on it. You<br />

cannot perform any operation that requires writing to the disk. When<br />

the specified drive is set to Read-Write, you can read or write to the<br />

disk in that drive. If you enter a CTRL-C at the system prompt, all<br />

drives are reset to Read-Write.<br />

Example: A >SET B: [RO]<br />

The preceding command sets drive B to Read-Only.<br />

Assign a Label to the Disk<br />

Syntax: SET {D:}[NAME = labelname.typ]<br />

Explanation:<br />

The preceding SET command assigns a label (name) to the disk in the<br />

specified or default drive.<br />

<strong>CP</strong>/M 3 provides a facility for creating a directory label for each disk.<br />

The directory label can be assigned an eight-character name and a<br />

three-character type similar to a filename and filetype. Label names<br />

make it easier to catalog disks and keep track of different disk directories.<br />

The default label name is LABEL.<br />

5-88

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

Saved successfully!

Ooh no, something went wrong!