File Selection Wildcards
adTempus supports the following standard wildcards for file name matching:
- ?
- Matches exactly one character
- *
- Matches 0 or more characters
When used in paths, the * wildcard behaves as follows:
- \*\
- Matches any subdirectory
- \**\
- Recursively matches any subdirectory, or no subdirectory at all.
The following examples demonstrate wildcard matching for directories:
- c:\source\*\files\*.txt
- Match: c:\source\foldera\files\afile.txt
- Match: c:\source\folderb\files\afile.txt
- No Match: c:\source\foldera\subfolder\files\afile.txt
- No Match: c:\source\files\afile.txt
- c:\source\**\files\*.txt
- Match: c:\source\files\afile.txt
- Match: c:\source\foldera\files\afile.txt
- Match: c:\source\foldera\subfolder\files\afile.txt
- Match: c:\source\folderb\files\afile.txt
- No Match: c:\source\foldera\subfolder\files\subdir\afile.txt
- No Match: c:\source\files\afile.txt
- c:\source\**\*.txt
- Match: c:\source\afile.txt
- Match: c:\source\foldera\afile.txt
- Match: c:\source\foldera\subfolder\afile.txt