1 Reply Latest reply: Jun 25, 2015 11:28 PM by Daniel Jenkins RSS

    Kickstart NPrinting job from batch file triggered via QMC

    Koushik Vutha

      Hi Guys

       

      When I try to run a batch file from cmd I get the following error as below. Any ideas? Checked the 'Path' in environment variables and it points to 'System32' folder as expected.

       

      Error

      The system cannot find the file specified.

      'C:\NPrintingTraining\ExternalRequestsXML\QVS.request' is not recognized as an internal or external command, operbale program or batch file.

       

       

      Referred to the link to tackle this and used the same script as below.

      How to Distribute Reports after Successful .qvw Reload on a QlikView Server – Customer Feedback for Vizubi

       

      QVS.processed

       

      <?xml version="1.0"?>
      <schedules>
      <schedule file="C:\NPrintingTraining\NPrintingFiles\NPrintingTraining.nsq" type="job" entityName="Send a Report via Email" />
      </schedules>

       

      QVS.bat

      move C:\NPrintingTraining\ExternalRequestsXML\QVS.processed C:\NPrintingTraining\ExternalRequestsXML\QVS.request

       

      Regards

      Kush.