Using {query} for multiples words


#1

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??


#2

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


#3

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