PDA

View Full Version : Filter Questions: entire directories? multi-line?


25-Feb-2004, 04:39 PM
I would like to specify entire folders to filter. For instance: "./docs/" Is this possible?

I was also wondering if it is possible add filters the the current filter. So instead of defining all the filters in a single line, can we define it on multiple lines?

Right now my filter looks like this:
filter -".\bin\file1.dll";-".\db2olap\bin\is\file2.dll";

Can I divide the command so that I define 1 file on each line? it would help readability.

Thanks!

Craig
26-Feb-2004, 02:41 PM
Yes, you can include or exclude folders in filters exactly like that. The trailing slash is what tells BC whether it's a file or folder filter.

We don't support adding filters after the fact, but you can span multiple lines. v2.1 added a line continuation character (&), that you can use to say that the command continues on the next line. Eg:

filter &
-.\bin\file1.dll &
-.\db2olap\bin\is\file2.dll