Using {query} for multiples words

Hello,

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:
image

What i get:
image

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

My command line
image

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.