A mask of a file or folder name is a representation of the name of a folder or name and extension of a file using common characters.
You can use the following common characters to create a file or folder name mask:
*
(asterisk) character, which takes the place of any set of characters (including an empty set). For example, the C:\*.txt
mask will include all paths to files with the txt
extension located in folders and subfolders on the (C:) drive.?
(question mark) character, which takes the place of any single character, except the \
and /
characters (delimiters of the names of files and folders in paths to files and folders). For example, the mask C:\Folder\???.txt
will include paths to all files residing in the folder named Folder
that have the TXT extension and a name consisting of three characters.