These are the files
that
match
and are listed:
79PRICES.AVG
80PRICES.AVG
81PRICES.JAN
81
PRICES.JU
L
81PRICES.AUG
For
another example, suppose
you
give
DOS
this
command:
dir
??prices.a?g
Then these files
match
and are listed:
79PRICES.AVG
80PRICES.AVG
81PRICES.AUG
The
*
Character
A * in a filename means
that
any character can be in
that
r-..,
position and in the rest
of
the filename. Likewise, a * in
an extension means
that
any character can
be
in
that
position and in rest
of
the extension. Using an asterisk
is like typing several ?'s,
but
shorter.
Unlike?,
two or
more
* are never used together. One
is
enough!
Assume
that
the same diskette we saw with
"The?
Character"
is
in drive A:.
If
you
give DOS this command:
dir
81*.j*
then these files are selected and displayed:
81
PRICES.JAN
81PRICES.JUL
DOS
342