Most xplorer² functions that search, select or filter for filenames have the same user interface (e.g. Find Files dialog <Ctrl+F>). You enter the filename you are after in the Named box:
If you don't add any explicit wildcard characters (no * or ? present), then xplorer² automatically expands the name you type, adding wildcards back and front. This means that it will search for filenames that contain your text anywhere inside them (think of searching a word inside a sentence). For example:
Your input: | DEPEND |
Automatic wildcard: | *DEPEND* |
Possible matches: | DEPEND.txt, DEPEND.doc, independent.rar etc |
If you don't want this automatic wildcard expansion, just add at least one special symbol ? or * as in DEPEND.* (which will match all files called DEPEND with any extension). Another possibility is to start with a colon : sign, which will match what you type exactly, whether it contains wildcards or not, e.g. :DEPEND.txt will only match filenames called DEPEND.TXT — you need to supply the extension too.
What if you want to search for two or more names or wildcards? No problem, just separate them with commas as in *.TXT,*.DOC that will match all files that are either plain text TXT or office DOC documents. This comma separated list is used a lot in xplorer² e.g. the predefined file categories like {documents} and {pictures} are defined as comma separated lists of extensions.
What if you want to match a filename that contains a comma? Escape it with two commas in a row ,,
Related articles for further reading:
Post a comment on this topic »