How to apply quotes from the command line

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
aussieboykie
Posts: 35
Joined: Sun Mar 08, 2015 11:05 pm

How to apply quotes from the command line

Post by aussieboykie »

From a BAT file or a CMD window I can enter..

everything -s "project xyz"

As expected, this will pass project xyz without the quotes. How do I apply quotes so that the search matches the exact string "project xyz"? I tried :quotproject xyz:quot but the :quot macros are not interpreted.

Regards, AB
void
Developer
Posts: 15403
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to apply quotes from the command line

Post by void »

Use triple-double quotes to escape a single double quote with windows command:

Code: Select all

everything -s """"project xyz""""
The forth quote is used to escape the space in project xyz so it is treated as one parameter.

Also note it should be quot: instead of :quot
quot: must appear outside quotations and will search for a literal quote, which I assume is not what you are trying to do here.
Post Reply