Adding saved search criteria to right click menu

0 votes

Hi, so im trying to create a right click menu so when i right click on a folder in explorer, it runs AgentRansack with my saved search criteria already loaded.

Im almost there, cos ive created the rightclick menu item, and i can get it to load the critera, but not the correct folder:-
"C:\Program Files\Mythicsoft\Agent Ransack\AgentRansack.exe" "C:\Moviesearch.srf"

I can get it to load the correct folder, but not the saved criteria:-
"C:\Program Files\Mythicsoft\Agent Ransack\AgentRansack.exe" -d "%1"

But for the life of me i just can not get it to do both. If i add one after the other it just dosent work. Can anyone help?

Thanks in advance.

asked Apr 12 by Jimbob (40 points)

1 Answer

+1 vote

You need to add the -po command line switch:

 AgentRansack.exe "C:\MovieSearch.srf" -d "%1" -po

If future versions -po will be the default.

answered Apr 12 by dave (50,950 points)
Thanks Dave.

I feel guilty now because in the meantime i found that i could just paste the search string into the command line.

AgentRansack.exe  -d "%1" -f  "*.avi ; *.mkv ; *mpg ;"

I don't know if there's any difference, but thankyou for  the reply, much appreciated.
...