How to filter in a search?

I´m using following code, to filter out only JPGs, but for some reason it doesn´t work.
What am i doing wrong?

FIND IN "K:\Bilder" QUERY {dlgstring|find in K} Set SHOWFILTERFILENAME=*.jpg

I tried to include the filter part in the first line, but that didn´t work either.

Your code doesn't work because the second line will affect your current active lister and not the collection of find results. You should use dopusrt.exe to get around this:

FIND IN "K:\Bilder" QUERY {dlgstring|find in K} /home\dopusrt.exe /cmd Set SHOWFILTERFILENAME=*.jpg

Thanks, kundal, that works.

:opussanta: :thumbsup: