Erase-Removing A File From A Diskette; Before You Begin - IBM 5150 Manual To Operations

Hide thumbs Also See for 5150:
Table of Contents

Advertisement

ERASE-Removing a Fie from a Diskette
One of the "housekeeping" chores associated with
diskettes is to remove files that you no longer need from
diskettes. The ERASE command does this for you.
Removing old files makes room for new information on
a diskette. It can eliminate a potential source of
confusion too-you are less likely to use an old version
of a program or an old data file for processing.
But plan ahead and check your typing when you use
ERASE.
After a file is erased, the data is gone. Unless you have
made a backup, the only way to re-create a file that has
been erased is by repeating the steps that you took to
create it in the first place.
Before You Begin
You need the diskette with the file that you want to
erase. Again, you need to know the exact filename and
extension of that file (use DIR if you need to).
And make sure you really will not need this file.
With One Drive
For this example, assume that the file to be removed
is ASSETS.80 (the one we just used in the RENAME
example).
1
Make sure DOS is ready with
A>
displayed.
2
Insert the diskette with the file you no longer need into
drive A:.
3
Type this:
erase assets.80
and check your typing. Now press Enter.
DOS
3-79

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents