2 Replies Latest reply: Sep 30, 2015 4:45 AM by Richard Fenner RSS

    Error while setting a QV Variable in a batch file

    Richard Fenner

      Hi,

       

      Hopefully there is a simple solution for this. I have a batch file that goes like this:

       

      ECHO OFF

      CLS

      "C:\Program Files\QlikView\QV.exe" /L /VvGroup="Cake" "Path\v2\Demo_Model.qvw"

      Echo Party Food Done!

       

      which works perfectly, the model opens, sets the variable and refreshes - as you can see the variable set is vGroup = Cake, but as soon as i set the variable to a string with a gap:

       

      ECHO OFF

      CLS

      "C:\Program Files\QlikView\QV.exe" /L /VvGroup="Party Food" "Path\v2\Demo_Model.qvw"

      Echo Party Food Done!

       

      vGroup = Party Food

       

      I get an error.

       

      Any ideas on a way around this?

       

      Thanks,

       

      Regards,

       

      Richard