Using Wildcard Characters To Access More Than One File - Commodore 128 System Manual

Hide thumbs Also See for 128:
Table of Contents

Advertisement

The user number always precedes the drive identifier except for
user 0, which is the default user number and is not displayed in
the prompt. Here are some examples of user numbers and their
meanings.
4A > User number 4, drive A
A >
User number 0, drive A
2B > User number 2, drive B
You can use the built-in command USER to change the current
user number like this:
A > USER 3 RETURN
3A >
You can change both the user number and the drive by entering
the new user number and drive specifier together at the system
prompt:
A>3B:
3B>
Most commands can access only those files that have the
current user number. However, if a file resides in user 0 and is
marked with a special file attribute, the file can be accessed from
any user number.

Using Wildcard Characters to Access More Than One File

Certain CP/M 3.0 built-in and transient commands can select
and process several files when special wildcard characters are
included in the filename or filetype. A wildcard is a character that
can be used in place of some other characters. CP/M 3.0 uses
the asterisk (*) and the question mark (?) as wildcards. For
instance, if you use a ? as the third character in a filename, you
are telling CP/M to let the ? stand for any character that may be
encountered in that position. Similarly, an * tells CP/M to fill the
filename with ? question mark as indicated. A file specification
containing wildcards is called an ambiguous filespec and can
refer to more than one file, because it gives CP/M 3.0 a pattern
to match. CP/M 3.0 searches the disk directory and selects any
file whose filename or filetype matches the pattern. For example,
if you type:
?????TAX.LIB n m inu
1 2 - 6
R£Ty«N

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

128d

Table of Contents