About File/Directory Masks...

A file name mask is used to selectively qualify directory entries.  A wildcard is a special character that can fill in for missing letter(s) in file and directory names when used to add specificity to OS commands.  Although there are various ways to define the syntax and semantics of a mask string, we will use the following rules:

 

 

Examples:       *.*                           All files

                        B*                          All files beginning with ‘B’ and no extension

                        ???*.C                   All files of length at least 3 with ‘C’ extension

                        *.TXT                      All files with “TXT” extension