>>Did you not see message #
1173916 ?
>>
>This message doesn't explain why I'm getting wrong results using mask for searching.
Naomi
There is no need to explain why. Those functions simply do not work as you wish.
You did not indicate that you actually tried the code.
I deliberately separated out the extension from the stem. The extension is used to keep just the jpg files BEFORE the stem is checked for the skeleton.