<?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 how to execute bat file in qlikview server (qmc) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357380#M1305951</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vlad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have given the path like this only in bat file &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;cscript "C:\Documents and Settings\SVC-QVEDX-D\Desktop\sample.vbs"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;but also its giving that error&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 May 2012 07:18:39 GMT</pubDate>
    <dc:creator>udaya_kumar</dc:creator>
    <dc:date>2012-05-18T07:18:39Z</dc:date>
    <item>
      <title>how to execute bat file in qlikview server (qmc)</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357378#M1305949</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 tried executing bat file in the external programs in the supporting task in system tab. &lt;/P&gt;&lt;P&gt;but am not able to run the task, task is failed. &lt;/P&gt;&lt;P&gt;i gave like &lt;/P&gt;&lt;P&gt;"C:\Documents and Settings\SVC-QVEDX-D\Desktop\testrun.bat" in command line statement in the task. &lt;/P&gt;&lt;P&gt;and inside the bat file, i gave "cscript C:\Documents and Settings\SVC-QVEDX-D\Desktop\sample.vbs". but &lt;/P&gt;&lt;P&gt;i am getting error when i run this bat file that &lt;/P&gt;&lt;P&gt;"C\Documents and Settings\SVC-QVEDX-D\Desktop" the path specified not found. &lt;/P&gt;&lt;P&gt;so what could be the problem?&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/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357378#M1305949</guid>
      <dc:creator>udaya_kumar</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>how to execute bat file in qlikview server (qmc)</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357379#M1305950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the problem is that the cscript command in the BAT file doesn't have quotes around the file path. Try this instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cscript "C:\Documents and Settings\SVC-QVEDX-D\Desktop\sample.vbs"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 15:44:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357379#M1305950</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2012-05-17T15:44:46Z</dc:date>
    </item>
    <item>
      <title>how to execute bat file in qlikview server (qmc)</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357380#M1305951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vlad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have given the path like this only in bat file &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;cscript "C:\Documents and Settings\SVC-QVEDX-D\Desktop\sample.vbs"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;but also its giving that error&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 07:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357380#M1305951</guid>
      <dc:creator>udaya_kumar</dc:creator>
      <dc:date>2012-05-18T07:18:39Z</dc:date>
    </item>
    <item>
      <title>how to execute bat file in qlikview server (qmc)</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357381#M1305952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello experts, &lt;/P&gt;&lt;P&gt;Anyone help me in this issue please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 12:11:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357381#M1305952</guid>
      <dc:creator>udaya_kumar</dc:creator>
      <dc:date>2012-05-18T12:11:18Z</dc:date>
    </item>
    <item>
      <title>how to execute bat file in qlikview server (qmc)</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357382#M1305953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; For testing propose I always run the VB scripts and Bat files from the root of the "C" drive. The service account my not have permissions to access the C:\Documents and Settings\SVC-QVEDX-D\Desktop location. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 12:43:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357382#M1305953</guid>
      <dc:creator>Bill_Britt</dc:creator>
      <dc:date>2012-05-18T12:43:44Z</dc:date>
    </item>
    <item>
      <title>how to execute bat file in qlikview server (qmc)</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357383#M1305954</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 tried giving the path like C:\testrun.bat, but also its giving error&lt;/P&gt;&lt;P&gt;that System cannot find the path specified&lt;/P&gt;&lt;P&gt;but the path exists, i dont know why it is giving error like this..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 14:37:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357383#M1305954</guid>
      <dc:creator>udaya_kumar</dc:creator>
      <dc:date>2012-05-18T14:37:20Z</dc:date>
    </item>
    <item>
      <title>how to execute bat file in qlikview server (qmc)</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357384#M1305956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Per Bill's suggestion, you should also change the line in the .BAT file to: &lt;SPAN style="text-decoration: underline;"&gt;cscript c:\sample.vbs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 16:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357384#M1305956</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2012-05-18T16:19:43Z</dc:date>
    </item>
    <item>
      <title>how to execute bat file in qlikview server (qmc)</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357385#M1305958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vlad,&lt;/P&gt;&lt;P&gt;i gave it like that only cscript c:\sample.vbs inside the bat file.&lt;/P&gt;&lt;P&gt;and in command line statement in the task in qmc, i gave it as c:\testrun.bat&lt;/P&gt;&lt;P&gt;but its giving error telling that the system cannot find the file specified.&lt;/P&gt;&lt;P&gt;dont know y its giving error like this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2012 13:29:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357385#M1305958</guid>
      <dc:creator>udaya_kumar</dc:creator>
      <dc:date>2012-05-20T13:29:46Z</dc:date>
    </item>
    <item>
      <title>how to execute bat file in qlikview server (qmc)</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357386#M1305960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have qlikview server in two environment.&lt;/P&gt;&lt;P&gt;one server at server1 and second server at server2.&lt;/P&gt;&lt;P&gt;at server1 it works fine, but at server2 it's not working. dont know what need to be done at server2 to make it work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2012 13:31:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357386#M1305960</guid>
      <dc:creator>udaya_kumar</dc:creator>
      <dc:date>2012-05-20T13:31:35Z</dc:date>
    </item>
    <item>
      <title>how to execute bat file in qlikview server (qmc)</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357387#M1305962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And am running this bat file using runas command.&lt;/P&gt;&lt;P&gt;i am using runas and opening an internet explorer and then am running that task.&lt;/P&gt;&lt;P&gt;i have only one drive C Drive, i think is there any problem of accessing the file in C Drive by this user?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2012 13:37:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357387#M1305962</guid>
      <dc:creator>udaya_kumar</dc:creator>
      <dc:date>2012-05-20T13:37:54Z</dc:date>
    </item>
    <item>
      <title>how to execute bat file in qlikview server (qmc)</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357388#M1305964</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;These are the things I would look at:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the service account have access to the C: drive?&lt;/P&gt;&lt;P&gt;Are you using a mapped drive in your bat file?&lt;/P&gt;&lt;P&gt;Does the bat file run succesfully if you manually run it from a CMD prompt?&lt;/P&gt;&lt;P&gt;Can you "runas" the bat file successfully from the CMD prompt?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2012 17:07:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357388#M1305964</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-05-20T17:07:47Z</dc:date>
    </item>
    <item>
      <title>how to execute bat file in qlikview server (qmc)</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357389#M1305965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you have 2 servers, you need to specify the UNC path when executing the BAT file. When Server 2 calls the C: drive, it's trying to call its own C: drive. For simplicity, even use the UNC path when executing from Server 1. If the service account on both servers is an administrator on the servers, you'll be able to use the admin $ share without having to explicitly share out a folder. Under supporting tasks, the BAT file should be referenced as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" \\server1name\c$\Documents and Settings\SVC-QVEDX-D\Desktop\testrun.bat " (no spaces before or after the quotes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside the BAT file, specify the VBS command as: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cscript " \\server1nam\c$\Documents and Settings\SVC-QVEDX-D\Desktop\sample.vbs " (no spaces before or after the quotes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 00:12:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357389#M1305965</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2012-05-21T00:12:55Z</dc:date>
    </item>
    <item>
      <title>how to execute bat file in qlikview server (qmc)</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357390#M1305967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Does the service account have access to the C: drive?&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Are you using a mapped drive in your bat file?&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Does the bat file run succesfully if you manually run it from a CMD prompt?&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Can you "runas" the bat file successfully from the CMD prompt?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have given the access to C drive for the service account.&lt;/P&gt;&lt;P&gt;no, its not a mapped drive.&lt;/P&gt;&lt;P&gt;yes, bat file run successfully, when i run it manually from cmd prompt&lt;/P&gt;&lt;P&gt;yes, i can use runas and run the bat file from the cmd prompt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 10:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357390#M1305967</guid>
      <dc:creator>udaya_kumar</dc:creator>
      <dc:date>2012-05-21T10:35:04Z</dc:date>
    </item>
    <item>
      <title>how to execute bat file in qlikview server (qmc)</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357391#M1305969</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 would try with the service account in the administrator's group (just for test purposes - don't leave it a member of administrators when done!!). If it then works properly, you have a permissions problem somewhere. Try the batch file one line at time (REM out the rest) and see if you can determine which command is failing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 18:46:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-execute-bat-file-in-qlikview-server-qmc/m-p/357391#M1305969</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-05-21T18:46:45Z</dc:date>
    </item>
  </channel>
</rss>

