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 ERASE Command <strong>CP</strong>/M 3 User's Guide<br />

The ERASE Command<br />

Syntax: ERASE ifilespecl i[CONFIRM]l<br />

Explanation: The ERASE command removes one or more files from a disk's directory<br />

in the current user number. Wildcard characters are accepted in<br />

the filespec. Directory and data space are automatically reclaimed for<br />

later use by another file. The ERASE command can be abbreviated to<br />

ERA.<br />

Use the ERASE command with care because all files in the current user<br />

number that satisfy the file specification are removed from the disk<br />

directory.<br />

Command lines that take the form<br />

ERASE {d:}wlldcard-filespec<br />

require your confirmation because they erase an entire group of files,<br />

not 'ust one file. The system prompts with the following message:<br />

ERASE {d:}wildcard-filespec (Y/N)?<br />

Respond with y if you want to remove all matching files, and n if you<br />

want to avoid erasing any files.<br />

If no files match the file specification, you see the following message:<br />

No Fi le<br />

The CONFIRM option informs the system to prompt for verification<br />

before erasing each file that matches the filespec. You can abbreviate<br />

CONFIRM to C.<br />

If you use the CONFIRM option with wildcard-filespec, then ERASE<br />

prompts for confirmation for each file. You can selectively erase the<br />

files you want by responding Y to the confirm message, or keep the<br />

files by responding N to the confirm message.<br />

5-38

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

Saved successfully!

Ooh no, something went wrong!