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
0 votes

I have folder 1, folder 2, folder 3, in each of these folders there are many PDF files and many MSG files. I want only folder 1 not to be searched for MSG files. But in folder 2 and folder 3 I want the MSG files to be searched. Tried with the MSG files by parameter: Folder 1*.msg to exclude, but I did not succeed. Is there any possibility. Haven't found a suitable topic in the other answers. Something like this:

by (345 points)

1 Answer

0 votes

You can't exclude files using the 'Look In' field and therefore you can't do it with the Multiple Folders dialog.

You should be able to do what you want using the option Include folder path in file name search (found in Configuration -> General -> Character Processing Settings).

With that option switched on you can use the File name field to match against the full path of the file and then switch to using Boolean expression mode to specify your criteria, e.g.

File name: *.pdf OR (*.msg NOT Folder1)

For example, to list all .txt and .xml files but not .xml files in the Agent Ransack folder:

Exclude files based on folder

by (28.6k points)
...