Page 1 of 1

Directory exclusion

Posted: Wed Dec 15, 2004 1:59 am
by geek
Hello, I know I can exclude dirs using :*dir*. The second * seems to be required. That pattern excludes c:\foo\dir, but unfortunately it also excludes c:\foo\dirAlso, and c:\foo\dir\more. How do I exclude the first but not the latter two?

Thanks

Posted: Wed Dec 15, 2004 4:23 am
by geek
Directory exclusions also appear to block files. For instance :*Debug* blocks c:\src\include\zdebug.h

Posted: Wed Dec 15, 2004 6:32 am
by psguru
Try

:*\dir\*

Posted: Wed Dec 15, 2004 6:58 am
by geek
That worked, thank you.