Page 1 of 1

TFindfile and filters

PostPosted: January 21st, 2009, 8:52 am
by Jean-Philippe
Hi all,

I've a problem with the Findfile component (version 4.01) and filtering filenames
If I put
*.dat
readme.txt
*.out
in the filters list, all .dat and .out files will be rejected but readme files will be still in the result.

And if I just put
readme.txt
readme files will be present

Is it normal or I'm doing something wrong?

By the way, is filtering case sensitive?

Regards

Jean-Philippe

Re: TFindfile and filters

PostPosted: January 21st, 2009, 9:40 am
by Kambiz
Hi,

This is the correct expression:

Code: Select all
*\readme.txt

Filtering is not case sensitive.

Re: TFindfile and filters

PostPosted: January 21st, 2009, 12:27 pm
by Jean-Philippe
Sorry but I've still the readme.txt files in the result

Jean-Philippe

Re: TFindfile and filters

PostPosted: January 21st, 2009, 4:08 pm
by Kambiz
Was a bug, sorry.

On line #838, replace True with False.

Re: TFindfile and filters

PostPosted: January 22nd, 2009, 9:07 am
by Jean-Philippe
It seems to work this time

Thank you for your great job

Jean-Philippe