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

Hi, I would like to launch a search by command line like this:

Containing text: "My Sentence One" OR "My Sentence Two" OR "My Sentence Three"

But I'm unsure how I'm supposed to format this with the -c argument.
I have tried:
-c "My Sentence One" OR "My Sentence Two" OR "My Sentence Three"

and I have tried:
-c ""My Sentence One" OR "My Sentence Two" OR "My Sentence Three""

But in both scenarios, Ransack shows errors about unrecognized arguments

by (120 points)

1 Answer

+1 vote
 
Best answer

To embed a quote you need to escape it with a back slash, e.g.

-c "\"My Sentence One\" OR \"My Sentence Two\" OR \"My Sentence Three\""
by (83.2k points)
...