Home
Download your own copy of Doc To HTML Converter today!Prev Page Prev Page
Introduction
Using DocToHtml
Getting Started
Conversion Options Dialog
General
Output Filenames
Template Data Editor
Images
Meta Tags
CSS
Advanced
JavaScript
HTML Code
Font Attr
Paragraph Attr
List Attr
Table Attr
Text Boxes
Body & Footer
Footnotes & Endnotes Options
HTML Template
XML & Charset & PG
Browsers
Search & Replace
Batch
Filemasks
Progress Form
Batch Converter
Main Window
Settings Dialog
General
Memory
Timeouts
Command Line Support
Search & Replace Dialog
Installation Issues
Uninstallation Issues
Crash Recovery
Support for 64-Bit MS Word
Troubleshooting
Common Issues
Deep Troubleshooting
Registration Benefits
How to Buy
Support & Feedback
FAQ
How to Speed up the Conversion
Unsupported Formatting
License Agreement
Privacy Policy
Change Log
Credits
Other Products

Back to the Batch Tab


Batch Tab -> Filemasks

Both “File mask” and “Exclude files” fields let you enter multiple masks, separated by semicolons. During the conversion, DocToHtml checks all files in a given directory for a match. When a file is found, the program tries to match its filename to the pattern entered in the “File mask” text input field. If either mask matches the filename, the file is considered to comply with the selection criteria. If this is the case, the filename is checked against each mask entered into the “Exclude files” field; if a match is found, the file will be skipped, otherwise it will be processed.

Filemask syntax

Each literal character must match a single character in the string. The comparison with literal characters is case-insensitive.

Each set begins with an opening bracket [ and ends with a closing bracket ]. The brackets enclose the elements of the set. Each element is a literal character or a range. Ranges are specified by an initial value, a dash (-), and a final value. Do not use spaces or commas to separate the elements of the set. A set must match a single character in the string. The character matches the set if it is the same as one of the literal characters in the set, or if it belongs to a range of the set. A character belongs to a range if it matches the initial value or the final value, or is between these two values. All comparisons are case-insensitive. If the first character after the opening bracket of a set is an exclamation point (!), then the set matches any character that is not in the set.

Do not use Unicode characters within sets. They are unsupported within sets and will cause an error. However, you may use Unicode characters outside sets just like any other characters, without any special requirements.

Wildcards are asterisks (*) or question marks (?). An asterisk matches any number of characters. A question mark matches a single arbitrary character.


Back to the Batch Tab