EasyManua.ls Logo

Commodore PC - Wildcards; The? Wildcard; The Wildcard

Commodore PC
414 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
8
MS-DOS
User's
Reference
Wildcards
^
If
you
are
using
multilevel
directories,
you
will
find
it
easier
to
^
)
search
for
files
on
your
disks
if
you
use
two
special
characters,
called
wildcards.
The
wildcard
characters
are
the
asterisk
(*)
and
the
question
mark
(?).
They
are
useful
in
ms-dos
command
lines
<
j
because
they
give
you
flexibility
when
you
are
specifying
paths
^-^
and
files.
Using
the
?
wildcard
The
? Wildcard
A
question
mark
(?)
in
a
filename
or
filename
extension
means
that
any
character
can
occupy
that
position.
The
following
com-
{^J
mand,
for
example,
lists
all
filenames
on
the
default
drive
that
begin
with
the
characters
memo,
that
have
any
character
in
the
next
position,
that
end
with
the
characters
augy
and
that
have
an
i)
extension
of.
txt:
dir
memo7aug.txt
I
Here
are
some
examples
of
files
that
might
be
listed
by
the
above
command:
MEM02AUG.TXT
MEM09AUG.TXT
MEMOBAUG.TXT
,
i
The
*
Wildcard
An
asterisk
(*)
used
in
a
filename
or
filename
extension
means
v
'
that
any
character
can
occupy
that
position
or
any
of
the
remain
ing
positions
in
the
filename
or
extension.
For
example,
the
fol
lowing
command
lists
all
the
directory
entries
on
the
default
drive
V
J
with
filenames
that
begin
with
the
characters
memo
and
that
have
an
extension
of
.txt:
dir
memo*.txt
^-^
Here
are
some
examples
of
files
that
might
be
listed
by
this
dir
,
command:
^—/
MEMQ2AUG.TXT
MEM09AUG.TXT
(
j
MEMOBAUG.TXT
^-^
MEMOJULY.TXT
MEMOJUNE.TXT

Related product manuals