Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

QV /v - variable value containing white space?

Hi

Is it possible to specify a variable containing a whitespace?

Ex:

  • qv.exe /r /vMyvar=123 abc.qvw     //OK
  • qv.exe /r /vMyvar='123' abc.qvw   //OK
  • qv.exe /r /vMyvar='1 2' abc.qvw    //FAILS
  • qv.exe /r /vMyvar="1 2" abc.qvw   //FAILS
  • qv.exe /r /vMyvar=´1 2´ abc.qvw   //FAILS

By the way, I am trying to use Myvar in the script. To reference it I use $(Myvar)?

Kind regards

OS

4 Replies
luciancotea
Specialist
Specialist

If it is a string, use '$(Myvar)' in script

Not applicable
Author

Try

qv "/vMyvar=1 2"

as an ultimate solution!

Anonymous
Not applicable
Author

qv.exe /r "/vMyvar=1 2" abc.qvw

Not applicable
Author

Thx Bill, it works.

Strange syntax though:)