EasyManuals Logo

Epson PX-8 User Manual

Epson PX-8
168 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #51 background imageLoading...
Page #51 background image
/"-
WARNING:
W USING WILDCARDS
WITH
THE
ERA
COMMAND
It
is very easy to erase files
you
do not wish to erase from a drive by using wild-
cards with the
ERA
command.
TO A VOID
ACCIDENTS
use the
DIR
command with the same wildcard op-
tion you wish to use. The files displayed by the DIRectory will then be the ones
ERAsed. This will ensure that you know what
your
action will be without caus-
ing anything drastic to happen.
IF
YOU
ARE
USING
'SYS'
FILES these will be deleted by the
ERA
command,
even though
you
did
not
see them on the directory. To avoid accidents use the
STATprogram to check the complete list
offile
names
if
you
are
using
'SYS'
files.
Alternatively delete files one
at
a time.
b) Erase all files
on
a drive
This
is
achieved by using the asterisk wildcard. Since this
is
drastic action, it
results in a question from the PX-8 asking
if
you are sure you want
to
erase
all the files:
A>ERA
*.*
ALL
(YIN)?
If
you answer N execution will be terminated, and answering Y will result in
all the files in the directory being ERAsed. Any files NOT in the directory
will
not be erased, that
is
system files and those with the
SYS
attribute set.
To erase all files
on
another drive the drivename must be specified:
C>ERA
D:*.*
ALL
(YIN)?
c)
Erase all files with the same filename
on
any drive
The asterisk wildcard can be used
to
erase all the files on a particular drive,
which have the same name but whose extensions differ.
D>ERA
START. *
will erase all those files
on
drive D: whose filename
is
START and whose
ex-
tension
is
anything, for instance, START.ASM, START.BAS or START.DAT.
C>ERA
D:START.*
3-22
will have exactly the same effect but
is
executed when C:
is
the logged-in drive
instead
of
D:.
d) Erase all files with the same extension on any drive
To do this you must specify the extension in full but use the asterisk wildcard
to allow any filename:
C>ERA
*.COM
will erase all the files on drive C: having the extension COM.
C>ERA
D:*.BAS
will erase all files
on
drive D: with the extension BAS, that is, all BASIC pro-
gram files.
e)
Erase all files with similar names
or
extensions
on
any drive \
Here you can use both the asterisk and the question mark wildcards. The aster-
isk replaces
an
entire filename or extension and the question mark replaces in-
dividual characters in the filename or extension:
C>ERA
S?????*
will erase all files
on
drive C: with any extension and whose filename consists
of
six characters beginning with
S.
C>ERA
D:TES?????BAS
will erase all those files
on
drive D: whose extension
is
BAS and whose file-
name begins with TES.
D>ERA
A:DEMO????A
will erase all files
on
drive A: whose filename consists
of
six letters beginning
with DEMO and whose extension ends in A.
f)
Erasing Files on a Microcassette drive.
On a conventional drive when a file
is
removed from the directory, the disk
is opened up for saving other files. On a Microcassette tape the files are saved
sequentially as a single block. This means that the removing a series
of
files
from a tape directory does not free up the tape.
It
will
simply removes the name
3-23

Other manuals for Epson PX-8

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Epson PX-8 and is the answer not in the manual?

Epson PX-8 Specifications

General IconGeneral
BrandEpson
ModelPX-8
CategoryLaptop
LanguageEnglish

Related product manuals