<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Running a Batch file through Publisher in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333625#M1276422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to run batch file in publisher&lt;/P&gt;&lt;P&gt;I have tried using Supporting tasks in QEMC but its remains in running state&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached sample..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sivaraj S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator>sivarajs</dc:creator>
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>Running a Batch file through Publisher</title>
      <link>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333625#M1276422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to run batch file in publisher&lt;/P&gt;&lt;P&gt;I have tried using Supporting tasks in QEMC but its remains in running state&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached sample..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sivaraj S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333625#M1276422</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Running a Batch file through Publisher</title>
      <link>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333626#M1276423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, Is that bat file is working whn u r running directly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 06:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333626#M1276423</guid>
      <dc:creator />
      <dc:date>2012-04-03T06:04:28Z</dc:date>
    </item>
    <item>
      <title>Running a Batch file through Publisher</title>
      <link>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333627#M1276424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; yes its working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 06:24:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333627#M1276424</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2012-04-03T06:24:37Z</dc:date>
    </item>
    <item>
      <title>Running a Batch file through Publisher</title>
      <link>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333628#M1276425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you paste the continue of the Batch file here? Sometimes the reason it continues to run is because publisher can't tell that the task has finished. Like if you use this to open notepad.exe. Publisher can't tell when notepad has closed so it will contiue to run.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 11:54:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333628#M1276425</guid>
      <dc:creator>Bill_Britt</dc:creator>
      <dc:date>2012-04-03T11:54:32Z</dc:date>
    </item>
    <item>
      <title>Running a Batch file through Publisher</title>
      <link>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333629#M1276426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I had the very same problem.&lt;/P&gt;&lt;P&gt;I solved it by running the batch file from the the script of a qlikview file, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vExeLine = 'BatchFile' ;&lt;/P&gt;&lt;P&gt;execute cmd /c $(vExeLine);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 13:14:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333629#M1276426</guid>
      <dc:creator />
      <dc:date>2012-04-03T13:14:01Z</dc:date>
    </item>
    <item>
      <title>Running a Batch file through Publisher</title>
      <link>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333630#M1276427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have defined my batch file like..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"C:\Program Files\QlikView\Qv.exe" /l "D:\AM_Scheduled_Report\AM_Daily_Mailer.qvw"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sivaraj s&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 13:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333630#M1276427</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2012-04-03T13:17:41Z</dc:date>
    </item>
    <item>
      <title>Running a Batch file through Publisher</title>
      <link>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333631#M1276428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are running an EXE and publisher can't tell when this has finished. Search the QlikView Server reference manual for Batch mode. This should work better for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 14:05:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333631#M1276428</guid>
      <dc:creator>Bill_Britt</dc:creator>
      <dc:date>2012-04-03T14:05:50Z</dc:date>
    </item>
    <item>
      <title>Running a Batch file through Publisher</title>
      <link>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333632#M1276429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi YO,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u Attach the sample, i am facing some syntax issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sivaraj S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2012 05:32:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333632#M1276429</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2012-04-04T05:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Running a Batch file through Publisher</title>
      <link>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333633#M1276430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;Try this &lt;/P&gt;&lt;P style="font-family: tahoma; color: black; font-size: 11pt;"&gt;"C:\Program Files\QlikView\qv.exe"/nosecurity /r "&lt;A href="https://community.qlik.com/"&gt;filepath\filename.qvw&lt;/A&gt;" file will be reloaded&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 05:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333633#M1276430</guid>
      <dc:creator />
      <dc:date>2012-07-24T05:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Running a Batch file through Publisher</title>
      <link>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333634#M1276431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sampathpleasure1,&lt;/P&gt;&lt;P&gt;Your example is not the same as running a batch reload in publisher. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 11:56:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333634#M1276431</guid>
      <dc:creator>Bill_Britt</dc:creator>
      <dc:date>2012-07-24T11:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Running a Batch file through Publisher</title>
      <link>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333635#M1276432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding an 'Exit' command in the batch file on the following line.&amp;nbsp; This should explicitly close the command instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 20:00:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333635#M1276432</guid>
      <dc:creator>bnichol</dc:creator>
      <dc:date>2012-07-24T20:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Running a Batch file through Publisher</title>
      <link>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333636#M1276433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding an 'Exit' command in the batch file on the following line.&amp;nbsp; This should explicitly close the command instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 20:00:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333636#M1276433</guid>
      <dc:creator>bnichol</dc:creator>
      <dc:date>2012-07-24T20:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Running a Batch file through Publisher</title>
      <link>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333637#M1276434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;I use the same for reload qlikview document through publisher.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 05:03:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333637#M1276434</guid>
      <dc:creator />
      <dc:date>2012-07-26T05:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Running a Batch file through Publisher</title>
      <link>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333638#M1276435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sampath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There isn't anything wrong in doing that way. However, it requires you to tie up a User Cal to do this. With the batch mode you are doing the same thing, but using a QVB process and it does cost you a User Cal. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 12:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333638#M1276435</guid>
      <dc:creator>Bill_Britt</dc:creator>
      <dc:date>2012-07-26T12:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Running a Batch file through Publisher</title>
      <link>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333639#M1276436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have tried this, and it works perfectly when I execute the .QVW file manually, but when I run it in Publisher it will NOT work. I have enabled the setting "can execute external programs". This script is part of my Extract file, where I call the execution of the external script:&lt;/P&gt;&lt;P&gt;LET vExeLine = 'D:\folder\sftp_transfer.bat';&lt;/P&gt;&lt;P&gt;execute cmd /C $(vExeLine);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;This is my batch file in 2 steps:&lt;/P&gt;&lt;P&gt;File 1:&lt;/P&gt;&lt;P&gt;winscp.exe /console /script=my_script.txt&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;File 2:&lt;/P&gt;&lt;P&gt;# start script code&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;open login:&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:password@domain.com"&gt;password@domain.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;option transfer binary&lt;/P&gt;&lt;P&gt;get /folder/*.* D:\folder\&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;P&gt;# end script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-----&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I had the very same problem.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I solved it by running the batch file from the the script of a qlikview file, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET vExeLine = 'BatchFile' ;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;execute cmd /c $(vExeLine);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 10:12:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333639#M1276436</guid>
      <dc:creator>wardzynski</dc:creator>
      <dc:date>2015-02-11T10:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Running a Batch file through Publisher</title>
      <link>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333640#M1276437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same issue as Sivaraj. What do you mean with "Batch mode"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Rumen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 15:38:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333640#M1276437</guid>
      <dc:creator>vasilev</dc:creator>
      <dc:date>2016-09-09T15:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Running a Batch file through Publisher</title>
      <link>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333641#M1276438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When a task is executed, QlikView Publisher invokes QlikView Batch (QVB), which is comparable to QlikView Desktop without the user interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at page 110 of the QlikView server reference manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 18:06:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-a-Batch-file-through-Publisher/m-p/333641#M1276438</guid>
      <dc:creator>Bill_Britt</dc:creator>
      <dc:date>2016-09-09T18:06:34Z</dc:date>
    </item>
  </channel>
</rss>

