Welcome to the Mythicsoft Q&A site for:

- Agent Ransack
- FileLocator Lite
- FileLocator Pro

Please feel free to ask any questions on these products or even answer other community member questions.

Useful Links:

- Contact Us
- Help Manuals
- Mythicsoft Home

How to exclude specific files using DOS Expression?

0 votes

I want to search in all *.sql files but exclude one large but irrelevant file. I have specified in the 'File name' textbox:

*.sql; NOT:DnB.CLR.CCBLogging.publish.sql

with selected option "DOS Expression" in the drop-down list on the right.

The search finds nothing. But if I remove that NOT:..... section, it finds correct hits in many *.sql files (no hits in 'DnB.CLR.CCBLogging.publish.sql' file anyway, it is just too big and irrelevant to waste time searching)

How to combine normal wild cards with NOT: in DOS Expression?

asked Jan 29 by Dmitry (250 points)

1 Answer

+1 vote
Best answer

Try removing the space after the semi-colon:


It shouldn't be quite so sensitive but this should sort it out for now.

answered Jan 29 by dave (55,310 points)
selected Jan 30 by Dmitry
Yes, removing that space does the trick! Now this search works as expected.
Thank you, Dave