Using {query} for multiples words


I’m trying to run an .bat from listary, and I’m passing a word with the parameter {query}, but when i use more than one word, only the first reach my command

What i run:

What i get:

I can send my text with doble quotes, it’s work, but when reach my command, the quotes still there

My command line

There’s anything i can do to send my text with multiple words, without the quotes??

As a workaround, you can strip the quotes using %~1 in .bat files.

Try to use %* instead of %1 in your bat.