To iterate through all Microsoft Word documents in a local folder using the For Each File in Folder
activity, you should use the filter option "*.doc*". This filter utilizes the asterisk (*) wildcard to match
any number of characters, effectively capturing both .doc and .docx file extensions.
UiPath Documentation
In the Filter by field of the activity, entering "*.doc*" ensures that the iteration includes all files with
names ending in .doc or .docx, which are standard extensions for Microsoft Word documents.
Other options are incorrect because:
B . Microsoft Word: This is not a valid filter pattern.
*C . " doc"**: This pattern looks for files with names ending in " doc" and does not account for file
extensions.
*D . " doc, *docx"**: This is not a valid filter pattern; multiple patterns should be separated by
semicolons (e.g., "*.doc;*.docx").
Therefore, the correct filter to use is "*.doc*".