The special characters supported are:
? |
Matches any single character. |
* |
Matches any sequence of zero or more characters. |
** |
Matches the current directory and recursively all subdirectories |
[chars] |
Matches any single character in chars. If chars contains a sequence of the form a-b then any character between a and b (inclusive) will match. |
{ab, cd,e,...} |
Matches any of the strings ab, cd, e, etc. |
Examples:
C:\data\*.dgn |
expands to all files in the c:\data directory that end with a .dgn extension |
C:\data\**\*.dgn |
expands to all files in the c:\data directory and any subdirectory below it that ends with a .dgn extension |
C:\**\*.dgn |
expands to all files on the entire C: drive that end with a .dgn extension |
C:\{data,archive}\*.dgn |
expands to all files in the c:\data and c:\archive directories that end with a .dgn extension |
C:\{data,archive}\92*.dgn |
expands to all files in the c:\data and c:\archive directories that start with 92 and end with a .dgn extension |
C:\data\92?034.dgn |
expands to all files in the c:\data directory that start with 92, have any letter or number next, and end with 034.dgn |
C:\data\92[a-z]034.dgn |
expands to all files in the c:\data directory that start with 92, have any lowercase letter next, and end with 034.dgn |