Wildcards

Certain A-Shell system commands accept wildcards, including: DIR, COPY, MOVE and ERASE. The wildcard characters are:

Wildcard

Description

*

matches anything within the corresponding part of the filespec

?

matches zero or one characters

ALL:

wildcard device, i.e. all devices

[]

wildcard PPN, i.e. all PPNs

[*,?]

all PPNs consisting of any project number and single digit programmer numbers, e.g. [100,2], [333,5])

 

Examples

Entered

Result

DIR DSK0:*.RUN[]

look for all programs in DSK0: with a RUN extension, in any PPN

.DIR ALL:*.1?[100,*]

look in all devices, for all programs with an extension of 1, or 1 plus any character, in the PPNs made up of 100 with any programmer number