2 Replies Latest reply: Oct 11, 2013 4:21 AM by Peter Cammaert RSS

    Can't run .bat file with QMC > Supporting Tasks > External Program

    Mika Lindman



      I'm trying to automate table to csv -export on reload. I've figured out that QMC automation doesn't handle the document events properly, and I need to do this from the command line, eg. Qv.exe /R xxx.qvw.

      For some reason though, I can't get the Supporting Tasks > External Program task to work properly.

      At the moment I have a simple .bat:


      REM ... my real load ....

      ECHO "Test"



      I have configured the external task with this parameter:


      Command line statement: cmd "c:\reload.bat"


      When I start the task, it just gets stuck on "Running" status, and never completing.


      What should I set as the "command line statement" parameter?