2 Replies Latest reply: May 15, 2014 9:51 AM by Bruce _ RSS

    Batch file

    Bruce _

      I have a batch file that I use to pass parameters to the project file. However when I try to pass a negitive number it does not work.

       

      Here's the line that works fine:

      "C:Program FilesMonarchProgramMonarch.exe" /prj:"D:program filesmonarchprojectsCustomerforecasts.xprj" /set:"LookBack"=12 /set:"Lookforward"=0 /px:"Forecast Accuracy"

       

      Note the Lookforward=0 line

       

      Now when I try

      "C:Program FilesMonarchProgramMonarch.exe" /prj:"D:program filesmonarchprojectsCustomerforecasts.xprj" /set:"LookBack"=12 /set:"Lookforward"=0 /px:"Forecast Accuracy"

       

      FilesMonarchProgramMonarch.exe" /prj:"D:program filesmonarchprojectsCustomerforecasts.xprj" /set:"LookBack"=12 /set:"Lookforward"=-1 /px:"Forecast Accuracy"

       

      With -1 being passed to the LookForward, Monrach stops at the opening screen & asks for the parameters.

       

      Any ideas?

       

      Thanks

        :confused: