4 Replies Latest reply: Oct 1, 2014 5:16 AM by Amit Saini RSS

    Script Help ???

    Amit Saini

      Hi Folks ,

       

      I'm having script like below:

       

      Set vPlant = '*';  (For reading all the plants)

       

      Set vQVD = '..\..\QV_QVD';

       

      Set vSRC = '..\..\QV_SRC';

       

      Set vQVDGlobal = '..\..\QV_QVD';

      Set vQVDGlobal = '..\..\QV_QVD\Global';

      execute cmd.exe /C copy  $(vQVD)\*.* $(vQVDGlobal)\*.* /y;

       

      set vQVD = $(vQVDGlobal);

       

      $(Include=..\2_scaq_datamodel_script.qvs)

       

      EXIT Script;

       

       

      Here in this script instead of reading all plants (Set vPlant = '*';) , I want to read only few of them.

       

      I tried with this:

       

      for each vPlant in 'Plant1','Plant2' but it's not working.

       

      Any suggestion how to achieve this.

       

      Thanks,

      AS